From 35e6a532f56d1a3e54476d2adb36375169e9bef9 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 29 Aug 2019 01:35:09 +0000 Subject: 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 --- app/views/settings/_authentication.html.erb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views/settings') 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 @@

<%= setting_text_field :password_min_length, :size => 6 %>

+

<%= setting_multiselect :password_required_char_classes, Setting::PASSWORD_CHAR_CLASSES.keys.collect {|c| [l("label_password_char_class_#{c}"), c]} , :inline => true %>

+

<%= 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]} %>

-- cgit v1.2.3