summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/password/forgotten-password.txt.tmpl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-05-03 15:37:42 +0200
committergerv%gerv.net <>2002-05-03 15:37:42 +0200
commitaf7e8c59d7024eacba4c2740e1f1367ef069cbc4 (patch)
tree5db2ab2bd826ae8808936c63b9bb515d3af74692 /template/en/default/account/password/forgotten-password.txt.tmpl
parent975393052e91c1c22b301c708c156f3784601358 (diff)
downloadbugzilla-af7e8c59d7024eacba4c2740e1f1367ef069cbc4.tar.gz
bugzilla-af7e8c59d7024eacba4c2740e1f1367ef069cbc4.tar.xz
Bug 135836 - change requests should include expiration details. Patch by zeroJ@null.net; r=gerv, justdave.
Diffstat (limited to 'template/en/default/account/password/forgotten-password.txt.tmpl')
-rw-r--r--template/en/default/account/password/forgotten-password.txt.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/account/password/forgotten-password.txt.tmpl b/template/en/default/account/password/forgotten-password.txt.tmpl
index 155b83b08..bf3242c08 100644
--- a/template/en/default/account/password/forgotten-password.txt.tmpl
+++ b/template/en/default/account/password/forgotten-password.txt.tmpl
@@ -18,6 +18,7 @@
#
# Contributor(s): John Vandenberg <zeroj@null.net>
#%]
+[% expiration_ts = token_ts + (max_token_age * 86400) %]
From: bugzilla-admin-daemon
To: [% emailaddress %]
Subject: Bugzilla Change Password Request
@@ -32,3 +33,6 @@ this request, visit the following link:
[%+ Param('urlbase') %]token.cgi?a=cxlpw&t=[% token FILTER url_quote %]
+If you do nothing, the request will lapse after
+[%- max_token_age %] days
+([% time2str("%H:%M on the %o of %B, %Y", expiration_ts) -%]) or when you log in successfully.