Simple anti-spam mechanism

This commit is contained in:
Your Name 2023-09-10 23:46:38 +02:00 committed by Zankaria
parent ea67272e87
commit e2bef8c2f2
3 changed files with 24 additions and 1 deletions

View file

@ -213,6 +213,16 @@
{{ antibot.html() }}
</td>
</tr>{% endif %}
{% if config.simple_anti_spam and not id %}<tr>
<th>
{{ config.simple_anti_spam.prompt }}
{{ antibot.html() }}
</th>
<td>
<input type="text" name="simple_anti_spam_answer" value="" size="12" maxlength="18" autocomplete="off">
{{ antibot.html() }}
</td>
</tr>{% endif %}
</table>
{{ antibot.html(true) }}
<input type="hidden" name="hash" value="{{ antibot.hash() }}">