mirror of
https://github.com/go-gitea/gitea
synced 2024-12-27 11:04:26 +00:00
6dbd261852
* allow current user to reset their own password * handle reset password edge cases properly and consistently * remove dangling assignment * properly label account recovery instead of reset password * remove 'Click here' from button * update English-only account-recovery templates
17 lines
618 B
Cheetah
17 lines
618 B
Cheetah
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>{{.DisplayName}}, you have requested to recover your account</title>
|
|
</head>
|
|
|
|
<body>
|
|
<p>Hi <b>{{.DisplayName}}</b>,</p>
|
|
<p>Please click the following link to recover your account within <b>{{.ResetPwdCodeLives}}</b>:</p>
|
|
|
|
<p><a href="{{AppUrl}}user/recover_account?code={{.Code}}">{{AppUrl}}user/recover_account?code={{.Code}}</a></p>
|
|
<p>Not working? Try copying and pasting it to your browser.</p>
|
|
<p>© <a target="_blank" rel="noopener noreferrer" href="{{AppUrl}}">{{AppName}}</a></p>
|
|
</body>
|
|
</html>
|