mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
load U2F js only on pages which need it (#11585)
* load U2F js only on pages which need it * Update templates/base/head.tmpl
This commit is contained in:
@@ -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}},
|
||||
|
Reference in New Issue
Block a user