]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 868330 - Password creation directions incomplete
authorSunil Joshi <joshi_sunil@in.com>
Fri, 9 Aug 2013 04:02:41 +0000 (14:02 +1000)
committerSimon Green <sgreen@redhat.com>
Fri, 9 Aug 2013 04:02:41 +0000 (14:02 +1000)
r=sgreen, a=sgreen

template/en/default/account/password/set-forgotten-password.html.tmpl
template/en/default/admin/params/auth.html.tmpl

index a2ae517c83dca39378b6196ab42ab340a90103c6..3bc16cbc085da10b3fbaa21de9445e3771349973 100644 (file)
 
 [% title = "Change Password" %]
 [% PROCESS global/header.html.tmpl %]
-
+[% password_complexity = Param('password_complexity') %]
 <p>
-  To change your password, enter a new password twice:
+  To change your password, enter a new password twice:<br>
 </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">
   <input type="hidden" name="t" value="[% token FILTER html %]">
@@ -33,7 +43,6 @@
       <th align="right">New Password:</th>
       <td>
         <input type="password" name="password">
-        (minimum [% constants.USER_PASSWORD_MIN_LENGTH FILTER none %] characters)
       </td>
     </tr>
     
index 2e11dffbce0be8a2e5ccaf56bbfb61564e5bca04..c757d9140b4641f6813d12378d7a83c8bc1bd31d 100644 (file)
     "<li>letters_numbers - Passwords must contain at least one UPPER and one " _
     "lower case letter and a number.</li>" _
     "<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>"
   }
 %]