2022-07-07 05:19:05 +08:00
|
|
|
|
package templates
|
|
|
|
|
|
|
|
|
|
// Available variables:
|
|
|
|
|
//
|
|
|
|
|
// ```
|
|
|
|
|
// User *models.User
|
|
|
|
|
// AppName string
|
|
|
|
|
// AppUrl string
|
|
|
|
|
// Token string
|
|
|
|
|
// ActionUrl string
|
|
|
|
|
// ```
|
|
|
|
|
const UserPasswordResetBody = `
|
|
|
|
|
{{define "content"}}
|
|
|
|
|
<p>Hello,</p>
|
|
|
|
|
<p>Click on the button below to reset your password.</p>
|
|
|
|
|
<p>
|
2022-07-26 20:17:10 +08:00
|
|
|
|
<a class="btn" href="{{.ActionUrl}}" target="_blank" rel="noopener">Reset password</a>
|
|
|
|
|
<a class="fallback-link" href="{{.ActionUrl}}" target="_blank" rel="noopener">{{.ActionUrl}}</a>
|
2022-07-07 05:19:05 +08:00
|
|
|
|
</p>
|
|
|
|
|
<p><i>If you didn’t ask to reset your password, you can ignore this email.</i></p>
|
|
|
|
|
<p>
|
|
|
|
|
Thanks,<br/>
|
|
|
|
|
{{.AppName}} team
|
|
|
|
|
</p>
|
|
|
|
|
{{end}}
|
|
|
|
|
`
|