summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-11-10 17:18:48 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-11-10 17:18:48 +0100
commit4f66eb9c2505f8a9297c5adb1b114b8d9a29443a (patch)
tree033cd92d97fdab7d7aa469d2c6e942b4add88ca9 /template/en
parent4c8b7b118226e6a6ad0fe8994d06d6ba9b0d2b06 (diff)
downloadbugzilla-4f66eb9c2505f8a9297c5adb1b114b8d9a29443a.tar.gz
bugzilla-4f66eb9c2505f8a9297c5adb1b114b8d9a29443a.tar.xz
Bug 1221423 - unable to impersonate users when 2fa is enabled
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/admin/sudo.html.tmpl7
1 files changed, 2 insertions, 5 deletions
diff --git a/template/en/default/admin/sudo.html.tmpl b/template/en/default/admin/sudo.html.tmpl
index 9c0605567..e88ae2617 100644
--- a/template/en/default/admin/sudo.html.tmpl
+++ b/template/en/default/admin/sudo.html.tmpl
@@ -80,12 +80,9 @@
[% IF user.authorizer.can_login %]
<p>
- Finally, enter <label for="Bugzilla_password">your [% terms.Bugzilla %]
+ Finally, enter <label for="current_password">your [% terms.Bugzilla %]
password</label>:
- <input type="hidden" name="Bugzilla_login" value="[% user.login FILTER html %]">
- <input type="password" id="Bugzilla_password" name="Bugzilla_password" size="20">
- <input type="hidden" name="Bugzilla_login_token"
- value="[% login_request_token FILTER html %]">
+ <input type="password" id="current_password" name="current_password" size="20">
<br>
This is done for two reasons. First of all, it is done to reduce
the chances of someone doing large amounts of damage using your