Release v2.2: admin auth settings, Passkey RP ID, Cloudflare and Google captcha
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{% if captcha_config %}
|
||||
<div class="form-group captcha-widget">
|
||||
{% if captcha_config.provider == 'turnstile' %}
|
||||
<div class="cf-turnstile" data-sitekey="{{ captcha_config.site_key }}"></div>
|
||||
{% elif captcha_config.provider == 'recaptcha_v2' %}
|
||||
<div class="g-recaptcha" data-sitekey="{{ captcha_config.site_key }}"></div>
|
||||
{% elif captcha_config.provider == 'recaptcha_v3' %}
|
||||
<input type="hidden" name="g-recaptcha-response" id="recaptchaV3Token" value="">
|
||||
<p class="folder-hint">Защита reCAPTCHA v3 активна</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user