package templates
import (
"text/template"
)
// HTMLEmailTemplateStep1 the template of email that the user will receive for identity verification.
var HTMLEmailTemplateStep1 *template.Template
func init() {
t, err := template.New("html_email_template").Parse(emailHTMLContentStep1)
if err != nil {
panic(err)
}
HTMLEmailTemplateStep1 = t
}
const emailHTMLContentStep1 = `
Authelia
|
Hi {{.displayName}}
|
This email has been sent to you in order to validate your identity.
If you did not initiate the process your credentials might have been compromised. You should reset your password and contact an administrator.
|
|
{{.button}}
|
|
{{.url}}
|
|
|
|
Please contact an administrator if you did not initiate the process.
|
|
This email was generated by some with the IP address {{.remoteIP}}.
|
|
|
|
`