summaryrefslogtreecommitdiffstats
path: root/template/en/default/account
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-06-08 18:26:57 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-06-08 18:27:10 +0200
commitf5aaf93ebd611ca932d0c862fd01683baf914c9f (patch)
tree0ec80643407f75ba83e2fcd0765702e1e87c8712 /template/en/default/account
parente5970a003456cbf77c94417fc9c2c66fcd13e604 (diff)
downloadbugzilla-f5aaf93ebd611ca932d0c862fd01683baf914c9f.tar.gz
bugzilla-f5aaf93ebd611ca932d0c862fd01683baf914c9f.tar.xz
Bug 1171963: account/email/confirm-new.html.tmpl should describe the current password complexity setting to new user just like the forgotten password form
Diffstat (limited to 'template/en/default/account')
-rw-r--r--template/en/default/account/email/confirm-new.html.tmpl12
1 files changed, 11 insertions, 1 deletions
diff --git a/template/en/default/account/email/confirm-new.html.tmpl b/template/en/default/account/email/confirm-new.html.tmpl
index a677db796..3241030e8 100644
--- a/template/en/default/account/email/confirm-new.html.tmpl
+++ b/template/en/default/account/email/confirm-new.html.tmpl
@@ -24,6 +24,8 @@
title = title
onload = "document.forms['confirm_account_form'].realname.focus();" %]
+[% password_complexity = Param('password_complexity') %]
+
<p>
To create your account, you must enter a password in the form below.
Your email address and Real Name (if provided) will be shown with
@@ -46,7 +48,15 @@
<th align="right"><label for="passwd1">Type your password</label>:</th>
<td>
<input type="password" id="passwd1" name="passwd1" value="">
- (minimum [% constants.USER_PASSWORD_MIN_LENGTH FILTER none %] characters)
+ (Password should be a minimum of [% constants.USER_PASSWORD_MIN_LENGTH FILTER none %] characters long
+ [% IF password_complexity == "mixed_letters" %]
+ and must contain at least one UPPER and one lowercase letter
+ [% ELSIF password_complexity == "letters_numbers" %]
+ and must contain at least one UPPER and one lowercase letter and a number
+ [% ELSIF password_complexity == "letters_numbers_specialchars" %]
+ and must contain at least one letter, a number and a special character
+ [% END ~%]
+ .)
</td>
</tr>
<tr>