summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorjustdave%bugzilla.org <>2004-10-25 16:12:21 +0200
committerjustdave%bugzilla.org <>2004-10-25 16:12:21 +0200
commitb121584e4a4c4dd1ca7ffd1d8cdf51b8a8551a07 (patch)
treed88153a539062fe3fa7ede87f89bd60ed000d533 /template/en
parentfe879a3de04a808143d9601efd045d24e4346759 (diff)
downloadbugzilla-b121584e4a4c4dd1ca7ffd1d8cdf51b8a8551a07.tar.gz
bugzilla-b121584e4a4c4dd1ca7ffd1d8cdf51b8a8551a07.tar.xz
Bug 250897: Enforce a 10 minute waiting period between password reset attempts to prevent the user getting mailbombed if the form is submitted multiple times.
Patch by Joel Peshkin <bugreport@peshkin.net> r=kiko, a=justdave
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/global/user-error.html.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 27e9ec863..9aab71a7d 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -895,6 +895,11 @@
The token you submitted does not exist, has expired, or has
been cancelled.
+ [% ELSIF error == "too_soon_for_new_token" %]
+ [% title = "Too Soon For New Token" %]
+ You have requested a password token too recently to request
+ another. Please wait a while and try again.
+
[% ELSIF error == "unknown_keyword" %]
[% title = "Unknown Keyword" %]
<code>[% keyword FILTER html %]</code> is not a known keyword.