From fde4a42e2aa5327c81d159d5f79026e5d0246c08 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 24 Nov 2007 12:52:29 +0000 Subject: Removed the 12 characters limit on passwords. git-svn-id: http://redmine.rubyforge.org/svn/trunk@927 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/account/password_recovery.rhtml | 2 +- app/views/account/register.rhtml | 3 ++- app/views/my/password.rhtml | 2 +- app/views/users/_form.rhtml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) (limited to 'app/views') 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 @@

<%= password_field_tag 'new_password', nil, :size => 25 %>
-<%= l(:text_length_between, 4, 12) %>

+<%= l(:text_caracters_minimum, 4) %>

<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>

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 %>

-<%= password_field_tag 'password', nil, :size => 25 %>

+<%= password_field_tag 'password', nil, :size => 25 %>
+<%= l(:text_caracters_minimum, 4) %>

<%= password_field_tag 'password_confirmation', nil, :size => 25 %>

diff --git a/app/views/my/password.rhtml b/app/views/my/password.rhtml index 217a8758e..2e9fd0fa4 100644 --- a/app/views/my/password.rhtml +++ b/app/views/my/password.rhtml @@ -9,7 +9,7 @@

<%= password_field_tag 'new_password', nil, :size => 25 %>
-<%= l(:text_length_between, 4, 12) %>

+<%= l(:text_caracters_minimum, 4) %>

<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>

diff --git a/app/views/users/_form.rhtml b/app/views/users/_form.rhtml index 72cf3c95c..d32399c60 100644 --- a/app/views/users/_form.rhtml +++ b/app/views/users/_form.rhtml @@ -24,7 +24,7 @@

<%= password_field_tag 'password', nil, :size => 25 %>
-<%= l(:text_length_between, 4, 12) %>

+<%= l(:text_caracters_minimum, 4) %>

<%= password_field_tag 'password_confirmation', nil, :size => 25 %>

-- cgit v1.2.3