summaryrefslogtreecommitdiffstats
path: root/app/views/account
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-24 12:52:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-24 12:52:29 +0000
commitfde4a42e2aa5327c81d159d5f79026e5d0246c08 (patch)
tree5e0eb454f86a848c55a3bb780d747c89f0d3f23e /app/views/account
parent29b3614bcb759214bb1aba77c27ac11c8ef6b15b (diff)
downloadredmine-fde4a42e2aa5327c81d159d5f79026e5d0246c08.tar.gz
redmine-fde4a42e2aa5327c81d159d5f79026e5d0246c08.zip
Removed the 12 characters limit on passwords.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@927 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/account')
-rw-r--r--app/views/account/password_recovery.rhtml2
-rw-r--r--app/views/account/register.rhtml3
2 files changed, 3 insertions, 2 deletions
diff --git a/app/views/account/password_recovery.rhtml b/app/views/account/password_recovery.rhtml
index 439ab11b5..7fdd2b2fd 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_length_between, 4, 12) %></em></p>
+<em><%= l(:text_caracters_minimum, 4) %></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>
diff --git a/app/views/account/register.rhtml b/app/views/account/register.rhtml
index f04bfbb0e..c1425a380 100644
--- a/app/views/account/register.rhtml
+++ b/app/views/account/register.rhtml
@@ -9,7 +9,8 @@
<%= text_field 'user', 'login', :size => 25 %></p>
<p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label>
-<%= password_field_tag 'password', nil, :size => 25 %></p>
+<%= password_field_tag 'password', nil, :size => 25 %><br />
+<em><%= l(:text_caracters_minimum, 4) %></em></p>
<p><label for="password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
<%= password_field_tag 'password_confirmation', nil, :size => 25 %></p>