summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/footer.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index ed4e75ffc9..a23ae57303 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -67,6 +67,11 @@
{{if .RequireU2F}}
<script src="{{AppSubUrl}}/vendor/plugins/u2f/index.js"></script>
{{end}}
+{{if .EnableCaptcha}}
+ {{if eq .CaptchaType "recaptcha"}}
+ <script src="https://www.google.com/recaptcha/api.js" async></script>
+ {{end}}
+{{end}}
{{if .RequireTribute}}
<script src="{{AppSubUrl}}/vendor/plugins/tribute/tribute.min.js"></script>