forked from leftypol/leftypol
captcha_script.html: use new config style
This commit is contained in:
parent
a45b40f59c
commit
d34b1e105e
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{% if config.hcaptcha %}
|
||||
{% if config.captcha.mode == 'hcaptcha' %}
|
||||
<script src="https://js.hcaptcha.com/1/api.js?recaptchacompat=off&render=explicit&onload=onCaptchaLoadHcaptcha" async defer></script>
|
||||
{% endif %}
|
||||
{% if config.turnstile %}
|
||||
{% if config.captcha.mode == 'turnstile' %}
|
||||
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload=onCaptchaLoadTurnstile_{{ form_action_type }}" async defer></script>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue