{{ template "inc_header.html.tpl" set . "activeNav" "security" }}
{{ if .settings.LocalEnabled }}
{{ tr "security.template.password.title" }}
{{ tr "security.template.password.change-link" }} {{ end }}
{{ .csrfField }}
{{ tr "security.template.mfa.title" }}
{{ if or .settings.MultiFactor.TOTP.Enabled .settings.MultiFactor.EmailOTP.Enabled }} {{ if .settings.MultiFactor.TOTP.Enabled }}
{{ if .totpEnforced }} {{ else }} {{ end }} {{ if .totpEnforced }} {{ tr "security.template.mfa.totp.enforced" }} {{ else }} {{ tr "security.template.mfa.totp.disabled" }} {{ end }}
{{ if .totpEnforced }} {{ if not .settings.MultiFactor.TOTP.Enforced }} {{ end }} {{ else }} {{ end }}
{{ end }} {{ if .settings.MultiFactor.EmailOTP.Enabled }}
{{ if .emailOtpEnforced }} {{ else }} {{ end }} {{ if .emailOtpEnforced }} {{ tr "security.template.mfa.email.enforced" }} {{ else }} {{ tr "security.template.mfa.email.disabled" }} {{ end }}
{{ if .emailOtpEnforced }} {{ if not .settings.MultiFactor.EmailOTP.Enforced }} {{ end }} {{ else }} {{ end }}
{{ end }} {{ else }} {{ end }}
{{ template "inc_footer.html.tpl" . }}