add hcaptcha support

This commit is contained in:
RealAngeleno authored and GitHub committed 2023-09-16 01:32:01 -07:00
1 parent f396204e44
commit 5e26d5f09e
1 file changed
+12
+12
View File
@@ -84,6 +84,18 @@
</td>
</tr>
{% 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 %}
<tr class='captcha'>
<th>