diff --git a/auth/assets/templates/security.html.tpl b/auth/assets/templates/security.html.tpl index 18a32e087..f0b0fcbcc 100644 --- a/auth/assets/templates/security.html.tpl +++ b/auth/assets/templates/security.html.tpl @@ -22,30 +22,27 @@
Additional security with mobile app (time-based one-time-password)
-
+
{{ if .totpEnforced }} -

+ {{ else }} -

+ {{ end }} -
-
{{ if .totpEnforced }} Configured and required on login. {{ else }} Currently disabled. {{ end }}
-
+
{{ if .totpEnforced }} {{ if not .settings.MultiFactor.TOTP.Enforced }} - + {{ end }} {{ else }} - + {{ end }}
-
{{ end }} @@ -54,27 +51,25 @@
Additional security with one-time-password over email
-
- {{ if .emailOtpEnforced }} -

- {{ else }} -

- {{ end }} -
-
+
+ {{ if .emailOtpEnforced }} + + {{ else }} + + {{ end }} {{ if .emailOtpEnforced }} Enabled and required on login. {{ else }} Currently disabled. {{ end }}
-
+
{{ if .emailOtpEnforced }} {{ if not .settings.MultiFactor.EmailOTP.Enforced }} - + {{ end }} {{ else }} - + {{ end }}
@@ -82,7 +77,7 @@
{{ end }} {{ else }} -