{{ define "main" }} {{ if .PasswordChanged }}

Password Reset Successful

Your password has been set successfully. You can now try to log in!

{{ else }}

User Account

Password Reset

Set Password

You have been invited to set a password for this account. Please choose a strong password or passphrase that you haven't used before. Think about a combination of words that would be memorable yet complex like Correct-Horse-Battery-Staple.

{{ if .PasswordInvalid }} Invalid password. Passwords must be at least 8 characters long. {{ end }}

Status

The account {{ .Account.Username }} was created on {{ .Account.Created }} and {{ if eq .Account.Created .Account.LastLogin }} never logged in. {{ else }} last logged in on {{ .Account.LastLogin }}. {{ end }}

{{ end }} {{ end }}