{{ template "inc_header.html.tpl" set . "hideNav" true }}

{{ tr "mfa.template.title" }}

{{ if .emailOtpPending }}

{{ tr "mfa.template.email.instructions" }}

{{ if .form.emailOtpError }} {{ end }} {{ .csrfField }}
{{ tr "mfa.template.email.resend" }}
{{ else if not .emailOtpDisabled }}

{{ tr "mfa.template.email.confirmed" }}

{{ end }} {{ if .totpPending }}

{{ tr "mfa.template.totp.instructions" }}

{{ if .form.totpError }} {{ end }} {{ .csrfField }}
{{ else if and (not .totpDisabled) (not .totpPending) (not .totpUnconfigured) }}

{{ tr "mfa.template.totp.confirmed" }}

{{ end }}
{{ template "inc_footer.html.tpl" . }}