diff options
author | Sunil Joshi <joshi_sunil@in.com> | 2013-09-19 13:10:00 +1000 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2013-09-19 13:10:00 +1000 |
commit | edd2afc779290d1af2d571ab0cb3f534135576d6 (patch) | |
tree | 856ac4a565f8f3f95ee91d295a3e0fff9463ed8b /template/en | |
parent | ff7e384329910fa729e1435cd3a090a4b0658486 (diff) | |
download | bugs-edd2afc779290d1af2d571ab0cb3f534135576d6.tar bugs-edd2afc779290d1af2d571ab0cb3f534135576d6.tar.gz bugs-edd2afc779290d1af2d571ab0cb3f534135576d6.tar.bz2 bugs-edd2afc779290d1af2d571ab0cb3f534135576d6.tar.xz bugs-edd2afc779290d1af2d571ab0cb3f534135576d6.zip |
Bug 897510 - Create and Modify User Screen must also contain password rules as hint
r=simon, a=glob
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/admin/users/userdata.html.tmpl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl index e42ee6438..4df8032a5 100644 --- a/template/en/default/admin/users/userdata.html.tmpl +++ b/template/en/default/admin/users/userdata.html.tmpl @@ -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 %] |