summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/request-new-password.html.tmpl
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-04-27 18:50:13 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2016-04-27 18:50:13 +0200
commit3891b63a1eb52076337885487f251a10580a4a85 (patch)
treedb1463894b756a6bb5114644feeec704ec886eb5 /template/en/default/account/request-new-password.html.tmpl
parentc44470a368465adfe329fcfc32492829a21878da (diff)
downloadbugzilla-3891b63a1eb52076337885487f251a10580a4a85.tar.gz
bugzilla-3891b63a1eb52076337885487f251a10580a4a85.tar.xz
Bug 218917 - Allow the login name to be different from the email address
Original patch by Gervase Markham r=gerv a=dkl
Diffstat (limited to 'template/en/default/account/request-new-password.html.tmpl')
-rw-r--r--template/en/default/account/request-new-password.html.tmpl14
1 files changed, 4 insertions, 10 deletions
diff --git a/template/en/default/account/request-new-password.html.tmpl b/template/en/default/account/request-new-password.html.tmpl
index a94b3a114..73caa6dcb 100644
--- a/template/en/default/account/request-new-password.html.tmpl
+++ b/template/en/default/account/request-new-password.html.tmpl
@@ -10,20 +10,14 @@
[% IF user.authorizer.can_change_password %]
<p>
- If you have an account, but have forgotten your password, enter your
- [% IF Param('emailsuffix') %]
- login name
- [% ELSE %]
- email address
- [% END %]
- below and submit a request to change your password. An email with details
- on how to reset your password will be sent.
+ If you have an account, but have forgotten your password, enter your email
+ address below and submit a request to change your password. An email with
+ details on how to reset your password will be sent.
</p>
<form id="forgot_password" method="get" action="token.cgi">
<input type="hidden" name="a" value="reqpw">
- <input id="loginname" [% IF !Param('emailsuffix') %]type="email"[% END %]
- name="loginname" autofocus required>
+ <input id="email" type="email" name="email" autofocus required>
<input type="hidden" id="token" name="token"
value="[% issue_hash_token(['reqpw']) FILTER html %]">
<input type="submit" id="request" value="Reset Password">