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:
parent
f396204e44
commit
5e26d5f09e
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user