add hcaptcha support
This commit is contained in:
parent
acf880012a
commit
09571fbc7d
|
@ -86,6 +86,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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user