diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2022-01-02 21:12:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-02 21:12:35 +0800 |
commit | de8e3948a5e38f7eaf82d3c0cfd10e995bf68e92 (patch) | |
tree | bbcb011d264e0d614d49c734856b446360c5a4a3 /templates/user | |
parent | e61b390d545919244141b699b28e3fbc42adc66f (diff) | |
download | gitea-de8e3948a5e38f7eaf82d3c0cfd10e995bf68e92.tar.gz gitea-de8e3948a5e38f7eaf82d3c0cfd10e995bf68e92.zip |
Refactor auth package (#17962)
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/settings/security/accountlinks.tmpl (renamed from templates/user/settings/security_accountlinks.tmpl) | 0 | ||||
-rw-r--r-- | templates/user/settings/security/openid.tmpl (renamed from templates/user/settings/security_openid.tmpl) | 0 | ||||
-rw-r--r-- | templates/user/settings/security/security.tmpl (renamed from templates/user/settings/security.tmpl) | 8 | ||||
-rw-r--r-- | templates/user/settings/security/twofa.tmpl (renamed from templates/user/settings/security_twofa.tmpl) | 0 | ||||
-rw-r--r-- | templates/user/settings/security/twofa_enroll.tmpl (renamed from templates/user/settings/twofa_enroll.tmpl) | 0 | ||||
-rw-r--r-- | templates/user/settings/security/u2f.tmpl (renamed from templates/user/settings/security_u2f.tmpl) | 0 |
6 files changed, 4 insertions, 4 deletions
diff --git a/templates/user/settings/security_accountlinks.tmpl b/templates/user/settings/security/accountlinks.tmpl index 7a9935d031..7a9935d031 100644 --- a/templates/user/settings/security_accountlinks.tmpl +++ b/templates/user/settings/security/accountlinks.tmpl diff --git a/templates/user/settings/security_openid.tmpl b/templates/user/settings/security/openid.tmpl index 2a167a712b..2a167a712b 100644 --- a/templates/user/settings/security_openid.tmpl +++ b/templates/user/settings/security/openid.tmpl diff --git a/templates/user/settings/security.tmpl b/templates/user/settings/security/security.tmpl index 891f7b9535..6d5f38ab70 100644 --- a/templates/user/settings/security.tmpl +++ b/templates/user/settings/security/security.tmpl @@ -3,11 +3,11 @@ {{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" .}} + {{template "user/settings/security/twofa" .}} + {{template "user/settings/security/u2f" .}} + {{template "user/settings/security/accountlinks" .}} {{if .EnableOpenIDSignIn}} - {{template "user/settings/security_openid" .}} + {{template "user/settings/security/openid" .}} {{end}} </div> </div> diff --git a/templates/user/settings/security_twofa.tmpl b/templates/user/settings/security/twofa.tmpl index 3d6804d9c6..3d6804d9c6 100644 --- a/templates/user/settings/security_twofa.tmpl +++ b/templates/user/settings/security/twofa.tmpl diff --git a/templates/user/settings/twofa_enroll.tmpl b/templates/user/settings/security/twofa_enroll.tmpl index c8ed0b7761..c8ed0b7761 100644 --- a/templates/user/settings/twofa_enroll.tmpl +++ b/templates/user/settings/security/twofa_enroll.tmpl diff --git a/templates/user/settings/security_u2f.tmpl b/templates/user/settings/security/u2f.tmpl index 97e76b6da2..97e76b6da2 100644 --- a/templates/user/settings/security_u2f.tmpl +++ b/templates/user/settings/security/u2f.tmpl |