Commit f559b688 authored by Sunil Joshi's avatar Sunil Joshi Committed by Simon Green

Bug 868330 - Password creation directions incomplete

r=sgreen, a=sgreen
parent 2e36c78e
...@@ -8,10 +8,20 @@ ...@@ -8,10 +8,20 @@
[% title = "Change Password" %] [% title = "Change Password" %]
[% PROCESS global/header.html.tmpl %] [% PROCESS global/header.html.tmpl %]
[% password_complexity = Param('password_complexity') %]
<p> <p>
To change your password, enter a new password twice: To change your password, enter a new password twice:<br>
</p> </p>
<ul>
<li>Password must be at least [% constants.USER_PASSWORD_MIN_LENGTH FILTER none %] characters long.</li>
[% IF password_complexity == "mixed_letters" %]
<li>Password must contain at least one UPPER and one lowercase letter.</li>
[% ELSIF password_complexity == "letters_numbers" %]
<li>Password must contain at least one UPPER and one lower case letter and a number.</li>
[% ELSIF password_complexity == "letters_numbers_specialchars" %]
<li>Password must contain at least one letter, a number and a special character.</li>
[% END %]
</ul>
<form method="post" action="token.cgi"> <form method="post" action="token.cgi">
<input type="hidden" name="t" value="[% token FILTER html %]"> <input type="hidden" name="t" value="[% token FILTER html %]">
...@@ -21,7 +31,6 @@ ...@@ -21,7 +31,6 @@
<th>New password:</th> <th>New password:</th>
<td> <td>
<input type="password" name="password"> <input type="password" name="password">
(minimum [% constants.USER_PASSWORD_MIN_LENGTH FILTER none %] characters)
</td> </td>
</tr> </tr>
......
...@@ -132,6 +132,6 @@ ...@@ -132,6 +132,6 @@
"<li>letters_numbers - Passwords must contain at least one UPPER and one " _ "<li>letters_numbers - Passwords must contain at least one UPPER and one " _
"lower case letter and a number.</li>" _ "lower case letter and a number.</li>" _
"<li>letters_numbers_specialchars - Passwords must contain at least one " _ "<li>letters_numbers_specialchars - Passwords must contain at least one " _
"UPPER or one lower case letter, a number and a special character.</li></ul>" "letter, a number and a special character.</li></ul>"
} }
%] %]
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