summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJonas Östanbäck <cez81@users.noreply.github.com>2017-05-14 04:38:30 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-05-14 10:38:30 +0800
commite214728725b304e92308f3c30235ec0d12dd5478 (patch)
tree4693ca1691d8a760db1dc3fd78defa231b0faf8f /templates
parent9e627af9a449419bcec65ccff1dba00abc625d43 (diff)
downloadgitea-e214728725b304e92308f3c30235ec0d12dd5478.tar.gz
gitea-e214728725b304e92308f3c30235ec0d12dd5478.zip
Add new text for reset password flash (#1718)
* Forgot password should use ResetPwdCodeLives, not ActiveCodeLives * Improve documentation for different send mail functions related to password reset * Improve documentation in conf/app.ini regarding xxx_CODE_LIVE_MINUTES settings
Diffstat (limited to 'templates')
-rw-r--r--templates/user/auth/forgot_passwd.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/auth/forgot_passwd.tmpl b/templates/user/auth/forgot_passwd.tmpl
index 86a98fcf10..412b5b8847 100644
--- a/templates/user/auth/forgot_passwd.tmpl
+++ b/templates/user/auth/forgot_passwd.tmpl
@@ -10,7 +10,7 @@
<div class="ui attached segment">
{{template "base/alert" .}}
{{if .IsResetSent}}
- <p>{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .Email .Hours | Str2html}}</p>
+ <p>{{.i18n.Tr "auth.reset_password_mail_sent_prompt" .Email .Hours | Str2html}}</p>
{{else if .IsResetRequest}}
<div class="required inline field {{if .Err_Email}}error{{end}}">
<label for="email">{{.i18n.Tr "email"}}</label>