summaryrefslogtreecommitdiffstats
path: root/app/views/settings
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/_authentication.html.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/settings/_authentication.html.erb b/app/views/settings/_authentication.html.erb
index 77b5afced..80fb4bd5a 100644
--- a/app/views/settings/_authentication.html.erb
+++ b/app/views/settings/_authentication.html.erb
@@ -14,6 +14,10 @@
<p><%= setting_text_field :password_min_length, :size => 6 %></p>
+<p>
+ <%= setting_select :password_max_age, [[l(:label_disabled), 0]] + [7, 30, 60, 90, 180, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]} %>
+</p>
+
<p><%= setting_check_box :lost_password, :label => :label_password_lost %></p>
<p><%= setting_text_field :max_additional_emails, :size => 6 %></p>