2022-07-07 00:19:05 +03:00
|
|
|
package templates
|
|
|
|
|
|
|
|
// Available variables:
|
|
|
|
//
|
|
|
|
// ```
|
|
|
|
// Admin *models.Admin
|
|
|
|
// AppName string
|
|
|
|
// AppUrl string
|
|
|
|
// Token string
|
|
|
|
// ActionUrl string
|
|
|
|
// ```
|
|
|
|
const AdminPasswordResetBody = `
|
|
|
|
{{define "content"}}
|
|
|
|
<p>Hello,</p>
|
|
|
|
<p>Follow this link to reset your admin password for {{.AppName}}.</p>
|
|
|
|
<p>
|
2022-07-26 15:17:10 +03:00
|
|
|
<a class="btn" href="{{.ActionUrl}}" target="_blank" rel="noopener">Reset password</a>
|
2022-07-07 00:19:05 +03:00
|
|
|
</p>
|
|
|
|
<p><i>If you did not request to reset your password, please ignore this email and the link will expire on its own.</i></p>
|
|
|
|
{{end}}
|
|
|
|
`
|