From: Sunil Joshi Date: Thu, 19 Sep 2013 03:10:00 +0000 (+1000) Subject: Bug 897510 - Create and Modify User Screen must also contain password rules as hint X-Git-Tag: bugzilla-4.5.1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edd2afc779290d1af2d571ab0cb3f534135576d6;p=thirdparty%2Fbugzilla.git Bug 897510 - Create and Modify User Screen must also contain password rules as hint r=simon, a=glob --- diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl index e42ee64383..4df8032a50 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 %] @@ -73,6 +73,13 @@ + [% 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 %]
(Enter new password to change.) [% END %]