Browse Source

add hcaptcha support

main
RealAngeleno 8 months ago
committed by -
parent
commit
09571fbc7d
  1. 12
      templates/post_form.html

12
templates/post_form.html

@ -86,6 +86,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>

Loading…
Cancel
Save