mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-26 01:43:45 +02:00
[ticket/15937] Google reCAPTCHA v3 Plugin
PHPBB3-15937
This commit is contained in:
13
phpBB/styles/prosilver/template/captcha_recaptcha_v3.html
Normal file
13
phpBB/styles/prosilver/template/captcha_recaptcha_v3.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% if S_RECAPTCHA_AVAILABLE %}
|
||||
<noscript>
|
||||
<div>{{ lang('RECAPTCHA_NOSCRIPT') }}</div>
|
||||
</noscript>
|
||||
|
||||
<script src="{{ U_RECAPTCHA_SCRIPT }}" async defer></script>
|
||||
|
||||
{# The g-recaptcha class is used in JavaScript #}
|
||||
<input class="g-recaptcha" type="hidden" name="recaptcha_action" value="{{ RECAPTCHA_ACTION }}" data-recaptcha-v3="{{ RECAPTCHA_KEY }}">
|
||||
<input type="hidden" name="recaptcha_token" value="">
|
||||
{% else %}
|
||||
{{ lang('RECAPTCHA_NOT_AVAILABLE') }}
|
||||
{% endif %}
|
Reference in New Issue
Block a user