diff options
author | Kamil DomaĆski <kamil@domanski.co> | 2021-01-20 22:17:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 21:17:46 +0000 |
commit | 26da20aa93b474b1bf47b2ab650e0252f88a41cd (patch) | |
tree | 53249840ebd77afce50cb124952349d778ca01dc /templates/base | |
parent | cb08248c33a9e0f57c1480d0289b632da5d77668 (diff) | |
download | gitea-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.tmpl | 1 |
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}}, |