summaryrefslogtreecommitdiffstats
path: root/template/en/default/account
diff options
context:
space:
mode:
authorSunil Joshi <joshi_sunil@in.com>2013-08-07 07:21:12 +0200
committerSimon Green <sgreen@redhat.com>2013-08-07 07:21:12 +0200
commitf559b688e6ead9ab61062b63ae7c8a48b21ee676 (patch)
tree922f55d43016880fd121c89824759d6b0681315f /template/en/default/account
parent2e36c78ecde44d09bb685bde52e1ef0e3ba8afd2 (diff)
downloadbugzilla-f559b688e6ead9ab61062b63ae7c8a48b21ee676.tar.gz
bugzilla-f559b688e6ead9ab61062b63ae7c8a48b21ee676.tar.xz
Bug 868330 - Password creation directions incomplete
r=sgreen, a=sgreen
Diffstat (limited to 'template/en/default/account')
-rw-r--r--template/en/default/account/password/set-forgotten-password.html.tmpl15
1 files changed, 12 insertions, 3 deletions
diff --git a/template/en/default/account/password/set-forgotten-password.html.tmpl b/template/en/default/account/password/set-forgotten-password.html.tmpl
index 55b97addc..b203e66e9 100644
--- a/template/en/default/account/password/set-forgotten-password.html.tmpl
+++ b/template/en/default/account/password/set-forgotten-password.html.tmpl
@@ -8,10 +8,20 @@
[% 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 %]">
@@ -21,7 +31,6 @@
<th>New password:</th>
<td>
<input type="password" name="password">
- (minimum [% constants.USER_PASSWORD_MIN_LENGTH FILTER none %] characters)
</td>
</tr>