summaryrefslogtreecommitdiffstats
path: root/app/views/account
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-01-28 18:54:51 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-01-28 18:54:51 +0000
commit675f28f89562445a56ea530fda762b8cbc03222f (patch)
treeeabaa4bd721eb1f29fbb0d666f507e09585beaaa /app/views/account
parent9044305b9335bb74f607944ffb3d6dd483da8f0b (diff)
downloadredmine-675f28f89562445a56ea530fda762b8cbc03222f.tar.gz
redmine-675f28f89562445a56ea530fda762b8cbc03222f.zip
Use the minimum password length setting when reseting a password. (#4683)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3341 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/account')
-rw-r--r--app/views/account/password_recovery.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/account/password_recovery.rhtml b/app/views/account/password_recovery.rhtml
index 7fdd2b2fd..e265ca8fc 100644
--- a/app/views/account/password_recovery.rhtml
+++ b/app/views/account/password_recovery.rhtml
@@ -6,7 +6,7 @@
<div class="box tabular">
<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
<%= password_field_tag 'new_password', nil, :size => 25 %><br />
-<em><%= l(:text_caracters_minimum, 4) %></em></p>
+<em><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
<p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>