1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-01-10 00:43:36 +02:00
pocketbase/mails/templates/admin_password_reset.go

26 lines
582 B
Go
Raw Normal View History

2022-07-06 23:19:05 +02: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>
<a class="btn" href="{{.ActionUrl}}">Reset password</a>
<a class="fallback-link" href="{{.ActionUrl}}">{{.ActionUrl}}</a>
</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}}
`