type issues

This commit is contained in:
Fluf 2018-07-04 16:43:23 -04:00 committed by GitHub
parent 795019c8af
commit 6786290004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@
{{if .RequireU2F}}
<script src="{{AppSubUrl}}/vendor/plugins/u2f/index.js"></script>
{{end}}
{{if and .EnableCaptcha (eq .CaptchaType "recaptcha")}}
{{if and .EnableCaptcha (and .CaptchaType (eq .CaptchaType "recaptcha"))}}
<script src="https://www.google.com/recaptcha/api.js" async></script>
{{end}}
{{if .RequireTribute}}