Skip to content

Commit

Permalink
Make chaning the autologin to disabled persist. #6438
Browse files Browse the repository at this point in the history
Contributed by Felix Schäfer
  • Loading branch information
thegcat committed Sep 29, 2010
1 parent 4853dd9 commit 7ab0baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/settings/_authentication.rhtml
Expand Up @@ -3,7 +3,7 @@
<div class="box tabular settings">
<p><%= setting_check_box :login_required %></p>

<p><%= setting_select :autologin, [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]}, :blank => :label_disabled %></p>
<p><%= setting_select :autologin, [[l(:label_disabled), 0]] + [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]} %></p>

<p><%= setting_select :self_registration, [[l(:label_disabled), "0"],
[l(:label_registration_activation_by_email), "1"],
Expand Down

0 comments on commit 7ab0baa

Please sign in to comment.