conflicting types

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

View File

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