Fixed: disabling autologin not persisted. #6438
Contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4306 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5d6245b059
commit
1cf67b3a1d
|
@ -3,7 +3,7 @@
|
||||||
<div class="box tabular settings">
|
<div class="box tabular settings">
|
||||||
<p><%= setting_check_box :login_required %></p>
|
<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"],
|
<p><%= setting_select :self_registration, [[l(:label_disabled), "0"],
|
||||||
[l(:label_registration_activation_by_email), "1"],
|
[l(:label_registration_activation_by_email), "1"],
|
||||||
|
|
Loading…
Reference in New Issue