Files
autoglue/internal/assets/emails/password_reset.tmpl
2025-09-01 13:34:13 +01:00

46 lines
1.1 KiB
Cheetah
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{{define "subject"}}Reset your Dragon password{{end}}
{{define "plainBody"}}
Hi {{.Name}},
We received a request to reset your password. Use the token below to continue:
Reset token:
{{.Token}}
{{if .ResetURL}}Or open this link:
{{.ResetURL}}{{end}}
If you didnt request this, you can safely ignore this email.
Sent at: {{now}}
{{end}}
{{define "htmlBody"}}
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Reset your Dragon password</title>
</head>
<body>
<p>Hi {{.Name}},</p>
<p>We received a request to reset your password. Use the token below to continue:</p>
<p><strong>Reset token:</strong><br/>
<code style="font-family: monospace; font-size: 14px;">{{.Token}}</code></p>
{{if .ResetURL}}
<p>
Or click here:
<a href="{{.ResetURL}}">Reset my password</a>
</p>
{{end}}
<p>If you didnt request this, you can safely ignore this email.</p>
<p>Sent at: {{now}}</p>
</body>
</html>
{{end}}