summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-01-14 23:03:31 +0800
committerGitHub <noreply@github.com>2022-01-14 16:03:31 +0100
commit35c3553870e35b2e7cfcc599645791acda6afcef (patch)
tree0ad600c2d1cd94ef12566482832768c9efcf8a69 /templates/base
parent8808293247bebd20482c3c625c64937174503781 (diff)
downloadgitea-35c3553870e35b2e7cfcc599645791acda6afcef.tar.gz
gitea-35c3553870e35b2e7cfcc599645791acda6afcef.zip
Support webauthn (#17957)
Migrate from U2F to Webauthn Co-authored-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/footer.tmpl3
1 files changed, 0 insertions, 3 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index 122b3b46b4..1aabfa2f5c 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -14,9 +14,6 @@
{{template "base/footer_content" .}}
<!-- Third-party libraries -->
-{{if .RequireU2F}}
- <script src="{{AssetUrlPrefix}}/vendor/plugins/u2f/index.js"></script>
-{{end}}
{{if .EnableCaptcha}}
{{if eq .CaptchaType "recaptcha"}}
<script src='{{ URLJoin .RecaptchaURL "api.js"}}' async></script>