summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2018-04-19 03:08:51 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2018-04-19 09:08:51 +0800
commitf86af9c280a9cacb49d136a0e8d977cf60125a98 (patch)
tree265a2183c9f6b51bf0d5c61d318ea9c9f401ed0b
parent66d3c541a04ed13e82c2e1fb86d796e6f24d8ca0 (diff)
downloadgitea-f86af9c280a9cacb49d136a0e8d977cf60125a98.tar.gz
gitea-f86af9c280a9cacb49d136a0e8d977cf60125a98.zip
Mention the possibility of resetting the password for new accounts (#3812)
This solves the problem of administrators creating accounts for users that then do not know their initial password (without the administrator sending it to them via some other channel).
-rw-r--r--templates/mail/auth/register_notify.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/mail/auth/register_notify.tmpl b/templates/mail/auth/register_notify.tmpl
index f5f04854fc..a896f0e59d 100644
--- a/templates/mail/auth/register_notify.tmpl
+++ b/templates/mail/auth/register_notify.tmpl
@@ -9,6 +9,7 @@
<p>Hi <b>{{.Username}}</b>, this is your registration confirmation email for {{AppName}}!</p>
<p>You can now login via username: {{.Username}}.</p>
<p><a href="{{AppUrl}}user/login">{{AppUrl}}user/login</a></p>
+ <p>If this account has been created for you, please <a href="{{AppUrl}}user/forgot_password">reset your password</a> first.</p>
<p>© <a target="_blank" rel="noopener" href="{{AppUrl}}">{{AppName}}</a></p>
</body>
</html>