diff options
author | Go MAEDA <maeda@farend.jp> | 2019-08-29 01:35:09 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-08-29 01:35:09 +0000 |
commit | 35e6a532f56d1a3e54476d2adb36375169e9bef9 (patch) | |
tree | 6d225402666ad8aa85b2fe6f9d40c427669368fc /app/views/settings | |
parent | 0d9f7ee64a43ce75dd87c8d035a9d335b1077c16 (diff) | |
download | redmine-35e6a532f56d1a3e54476d2adb36375169e9bef9.tar.gz redmine-35e6a532f56d1a3e54476d2adb36375169e9bef9.zip |
Force passwords to contain specified character classes (#4221).
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@18411 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/_authentication.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/settings/_authentication.html.erb b/app/views/settings/_authentication.html.erb index 4bf890d3f..9a39497b8 100644 --- a/app/views/settings/_authentication.html.erb +++ b/app/views/settings/_authentication.html.erb @@ -20,6 +20,8 @@ <p><%= setting_text_field :password_min_length, :size => 6 %></p> +<p><%= setting_multiselect :password_required_char_classes, Setting::PASSWORD_CHAR_CLASSES.keys.collect {|c| [l("label_password_char_class_#{c}"), c]} , :inline => true %></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> |