1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 18:24:29 +01:00

add hcaptcha support

This commit is contained in:
RealAngeleno 2023-09-16 01:32:01 -07:00 committed by GitHub
parent f396204e44
commit 5e26d5f09e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,18 @@
</td> </td>
</tr> </tr>
{% endif %} {% endif %}
{% if config.hcaptcha %}
<tr>
<th>
{% trans %}Verification{% endtrans %}
{{ antibot.html() }}
</th>
<td>
<div class="h-captcha" data-sitekey="{{ config.hcaptcha_public }}"></div>
{{ antibot.html() }}
</td>
</tr>
{% endif %}
{% if config.captcha.enabled %} {% if config.captcha.enabled %}
<tr class='captcha'> <tr class='captcha'>
<th> <th>