mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/17413] Make turnstile captcha work on registration page
PHPBB-17413
This commit is contained in:
12
phpBB/styles/prosilver/template/captcha_turnstile.html
Normal file
12
phpBB/styles/prosilver/template/captcha_turnstile.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% if S_TURNSTILE_AVAILABLE %}
|
||||
<noscript>
|
||||
<div>{{ lang('CAPTCHA_TURNSTILE_NOSCRIPT') }}</div>
|
||||
</noscript>
|
||||
|
||||
<script src="{{ U_TURNSTILE_SCRIPT }}" async defer></script>
|
||||
|
||||
{# The cf-turnstile class is used in JavaScript #}
|
||||
<div class="cf-turnstile" data-sitekey="{{ TURNSTILE_SITEKEY }}"></div>
|
||||
{% else %}
|
||||
{{ lang('CAPTCHA_TURNSTILE_NOT_AVAILABLE') }}
|
||||
{% endif %}
|
Reference in New Issue
Block a user