You need to sign in or sign up before continuing.
Commit 26913cee authored by Sunil Joshi's avatar Sunil Joshi Committed by Gervase Markham

Bug 927452 - When creating a new user account, the requirements for the password…

Bug 927452 - When creating a new user account, the requirements for the password should be displayed. r=gerv, a=justdave.
parent 082cea0b
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
title = title title = title
%] %]
[% password_complexity = Param('password_complexity') %]
<p> <p>
To create your account, you must enter a password in the form below. 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 Your email address and Real Name (if provided) will be shown with
...@@ -39,7 +41,15 @@ ...@@ -39,7 +41,15 @@
<th><label for="passwd1">Type your password</label>:</th> <th><label for="passwd1">Type your password</label>:</th>
<td> <td>
<input type="password" id="passwd1" name="passwd1" value="" required> <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> </td>
</tr> </tr>
<tr> <tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment