diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-05-10 10:26:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-05-10 10:26:55 +0000 |
commit | 51f7060aa8464f51f78403f87b3556a7ffaa1995 (patch) | |
tree | cb7a82d8d788a2e71bb57de7e536bd7048e956f8 /app/views/settings | |
parent | 92833d0b10e7c46477e1485a4bf616649aee544e (diff) | |
download | redmine-51f7060aa8464f51f78403f87b3556a7ffaa1995.tar.gz redmine-51f7060aa8464f51f78403f87b3556a7ffaa1995.zip |
Add the ability to expire passwords after a configurable number of days (#19458).
Patch by Holger Just and Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@14264 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/_authentication.html.erb | 4 |
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> |