aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/settings/security/security.tmpl
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-01-02 21:12:35 +0800
committerGitHub <noreply@github.com>2022-01-02 21:12:35 +0800
commitde8e3948a5e38f7eaf82d3c0cfd10e995bf68e92 (patch)
treebbcb011d264e0d614d49c734856b446360c5a4a3 /templates/user/settings/security/security.tmpl
parente61b390d545919244141b699b28e3fbc42adc66f (diff)
downloadgitea-de8e3948a5e38f7eaf82d3c0cfd10e995bf68e92.tar.gz
gitea-de8e3948a5e38f7eaf82d3c0cfd10e995bf68e92.zip
Refactor auth package (#17962)
Diffstat (limited to 'templates/user/settings/security/security.tmpl')
-rw-r--r--templates/user/settings/security/security.tmpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/user/settings/security/security.tmpl b/templates/user/settings/security/security.tmpl
new file mode 100644
index 0000000000..6d5f38ab70
--- /dev/null
+++ b/templates/user/settings/security/security.tmpl
@@ -0,0 +1,15 @@
+{{template "base/head" .}}
+<div class="page-content user settings security">
+ {{template "user/settings/navbar" .}}
+ <div class="ui container">
+ {{template "base/alert" .}}
+ {{template "user/settings/security/twofa" .}}
+ {{template "user/settings/security/u2f" .}}
+ {{template "user/settings/security/accountlinks" .}}
+ {{if .EnableOpenIDSignIn}}
+ {{template "user/settings/security/openid" .}}
+ {{end}}
+ </div>
+</div>
+
+{{template "base/footer" .}}