summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorKamil DomaƄski <kamil@domanski.co>2021-01-20 22:17:46 +0100
committerGitHub <noreply@github.com>2021-01-20 21:17:46 +0000
commit26da20aa93b474b1bf47b2ab650e0252f88a41cd (patch)
tree53249840ebd77afce50cb124952349d778ca01dc /templates/base
parentcb08248c33a9e0f57c1480d0289b632da5d77668 (diff)
downloadgitea-26da20aa93b474b1bf47b2ab650e0252f88a41cd.tar.gz
gitea-26da20aa93b474b1bf47b2ab650e0252f88a41cd.zip
load U2F js only on pages which need it (#11585)
* load U2F js only on pages which need it * Update templates/base/head.tmpl
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/head.tmpl1
1 files changed, 0 insertions, 1 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 3c2371f0e9..1dcaea8560 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -36,7 +36,6 @@
HighlightJS: {{if .RequireHighlightJS}}true{{else}}false{{end}},
SimpleMDE: {{if .RequireSimpleMDE}}true{{else}}false{{end}},
Tribute: {{if .RequireTribute}}true{{else}}false{{end}},
- U2F: {{if .RequireU2F}}true{{else}}false{{end}},
NotificationSettings: {
MinTimeout: {{NotificationSettings.MinTimeout}},
TimeoutStep: {{NotificationSettings.TimeoutStep}},