summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorMary Umoh <umohm12@gmail.com>2017-08-30 20:23:56 +0200
committerDylan William Hardison <dylan@hardison.net>2017-08-30 20:23:56 +0200
commit2314495acf103fc45486a59d6543454ccd8f4363 (patch)
tree5e62801061cf216e768742188ae7f84bc731d879 /template/en/default
parent6e06bb255acdf53d2bbed3911378bd6859a0e3f0 (diff)
downloadbugzilla-2314495acf103fc45486a59d6543454ccd8f4363.tar.gz
bugzilla-2314495acf103fc45486a59d6543454ccd8f4363.tar.xz
Bug 1394915- Protect against 2FA by-pass in reset_password.cgi
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/global/user-error.html.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index f9e019cb5..1aa92ead0 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -1399,6 +1399,10 @@
[% title = "Password Unchanged" %]
Your new password cannot be the same as your old password.
+ [% ELSIF error == "reset_password_denied" %]
+ [% title = "Reset Password Denied" %]
+ You cannot reset your password without administrative permission.
+
[% ELSIF error == "no_axes_defined" %]
[% title = "No Axes Defined" %]
[% docslinks = {'reporting.html' => 'Reporting'} %]