Bug 897510 - Create and Modify User Screen must also contain password rules as hint

r=simon, a=glob


git-svn-id: svn://10.0.0.236/trunk@265024 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2013-09-19 03:27:59 +00:00
parent a45b4852aa
commit 8cff0ef92e
2 changed files with 9 additions and 2 deletions

View File

@ -1 +1 @@
8747
8748

View File

@ -65,7 +65,7 @@
# if we ever have a login system that can create accounts through
# createaccount.cgi but can't change passwords.
#%]
[% password_complexity = Param('password_complexity') %]
[% IF editusers %]
[% IF user.authorizer.can_change_password %]
<tr>
@ -73,6 +73,13 @@
<td>
<input type="password" size="16" name="password" id="password"
value="" autocomplete="off" />
[% IF password_complexity == "mixed_letters" %]
(Password must contain at least one UPPER and one lowercase letter.)
[% ELSIF password_complexity == "letters_numbers" %]
(Password must contain at least one UPPER and one lower case letter and a number.)
[% ELSIF password_complexity == "letters_numbers_specialchars" %]
(Password must contain at least one letter, a number and a special character.)
[% END %]
[% IF editform %]<br />
(Enter new password to change.)
[% END %]