Bug 927452 - When creating a new user account, the requirements for the password should be displayed. r=gerv, a=justdave.

git-svn-id: svn://10.0.0.236/trunk@265378 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org
2014-05-02 12:45:47 +00:00
parent bdc9ffd820
commit f818291743
3 changed files with 13 additions and 3 deletions

View File

@@ -1 +1 @@
9015
9016

View File

@@ -1 +1 @@
082cea0bf161689e2c45750d364c87b46dc87089
26913cee0717b63ddc350241370b0f49c82a36c9

View File

@@ -17,6 +17,8 @@
title = title
%]
[% password_complexity = Param('password_complexity') %]
<p>
To create your account, you must enter a password in the form below.
Your email address and Real Name (if provided) will be shown with
@@ -39,7 +41,15 @@
<th><label for="passwd1">Type your password</label>:</th>
<td>
<input type="password" id="passwd1" name="passwd1" value="" required>
(minimum [% constants.USER_PASSWORD_MIN_LENGTH FILTER none %] characters)
(Password should be a minimum of [% constants.USER_PASSWORD_MIN_LENGTH FILTER none %] characters long
[% IF password_complexity == "mixed_letters" %]
and must contain at least one UPPER and one lowercase letter
[% ELSIF password_complexity == "letters_numbers" %]
and must contain at least one UPPER and one lowercase letter and a number
[% ELSIF password_complexity == "letters_numbers_specialchars" %]
and must contain at least one letter, a number and a special character
[% END ~%]
.)
</td>
</tr>
<tr>