f86af9c280
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).
15 lines
609 B
Cheetah
15 lines
609 B
Cheetah
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>{{.Username}}, welcome to {{AppName}}</title>
|
|
</head>
|
|
|
|
<body>
|
|
<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>
|