{{define "content"}}

Edit User

{{if .EditUser}}
{{if .PasswordPolicy}} Min. {{.PasswordPolicy.MinLength}} characters{{if .PasswordPolicy.RequireUpper}}, uppercase{{end}}{{if .PasswordPolicy.RequireLower}}, lowercase{{end}}{{if .PasswordPolicy.RequireDigit}}, digit{{end}}{{if .PasswordPolicy.RequireSpecial}}, special char{{end}}. Leave empty to keep current. {{else}} Leave empty to keep the current password. {{end}}
{{if .EditUser.MFAEnabled}} MFA Enabled {{else}} MFA Disabled {{end}}
{{if .EditUser.LockedUntil}}
Account locked until {{.EditUser.LockedUntil.Format "2006-01-02 15:04"}} ({{.EditUser.FailedLoginAttempts}} failed attempts)
{{end}}
{{if .EditUser.LockedUntil}}
{{end}} {{else}}

User not found.

{{end}}
{{end}}