package templates
import (
"text/template"
)
// EmailPasswordResetHTML the template of email that the user will receive for identity verification.
var EmailPasswordResetHTML *template.Template
func init() {
t, err := template.New("email_password_reset_html").Parse(emailContentPasswordResetHTML)
if err != nil {
panic(err)
}
EmailPasswordResetHTML = t
}
//nolint:gosec // This is a template not hardcoded credentials.
const emailContentPasswordResetHTML = `
Authelia
|
Hi {{ .DisplayName }}
Your password has been successfully reset.
If you did not initiate the process your credentials might have been compromised. You should reset your password and contact an administrator.
|
|
|
|
|
Please contact an administrator if you did not initiate this process.
|
|
This email was generated by a request from the IP address {{ .RemoteIP }}.
|
|
|
|
`