]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 897510 - Create and Modify User Screen must also contain password rules as hint
authorSunil Joshi <joshi_sunil@in.com>
Thu, 19 Sep 2013 03:10:00 +0000 (13:10 +1000)
committerSimon Green <sgreen@redhat.com>
Thu, 19 Sep 2013 03:10:00 +0000 (13:10 +1000)
r=simon, a=glob

template/en/default/admin/users/userdata.html.tmpl

index e42ee643830c16c450d9cf82c603d68887e5c04e..4df8032a507b6b264c0d5e0505d55c634522081c 100644 (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>
     <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 %]