-
-
-
-
-
-
-
-
- {{ if .isLoginPage }}
-
-
- {{ else }}
-
-
+ {{ end }}
+ {{ .csrfHtml }}
+
{{ end }}
- {{ .csrfHtml }}
-
- {{ end }}
- {{ if or .githubOauth .gitlabOauth .giteaOauth .oidcOauth }}
- {{ if not .disableForm }}
-
-
-
+ {{ if or .githubOauth .gitlabOauth .giteaOauth .oidcOauth }}
+ {{ if not .disableForm }}
+
+
+ {{ end }}
+
-
{{ end }}
-
+
+
+ {{ if .isLoginPage }}
+
+
+
+
{{ .locale.Tr "auth.mfa.passkey" }}
+
- {{ end }}
+
+
+
+
+
{{ .locale.Tr "auth.mfa.waiting-for-passkey-input" }}
+
+
+ {{ end }}
{{ end }}
+
+
{{ template "footer" .}}
diff --git a/templates/pages/mfa.html b/templates/pages/mfa.html
new file mode 100644
index 00000000..27c7e5e4
--- /dev/null
+++ b/templates/pages/mfa.html
@@ -0,0 +1,37 @@
+{{ template "header" .}}
+
+
+
+
+
+
+
+
{{ .locale.Tr "auth.mfa.use-passkey-to-finish" }}
+
+
+
+
+
+
+
{{ .locale.Tr "auth.mfa.waiting-for-passkey-input" }}
+
+
+
+
+
+
+
+
+
+{{ template "footer" .}}
diff --git a/templates/pages/settings.html b/templates/pages/settings.html
index 02c43e9a..34b658ef 100644
--- a/templates/pages/settings.html
+++ b/templates/pages/settings.html
@@ -148,6 +148,64 @@