Add honeypot on forum

This commit is contained in:
2024-07-22 11:40:11 +02:00
parent c7f8cdd098
commit 2c8f18d7fc
4 changed files with 33 additions and 2 deletions

View File

@ -29,6 +29,7 @@
{% endif %}
<form action="" method="post" enctype="multipart/form-data">
{% csrf_token %}
{% render_honeypot_field settings.HONEYPOT_FIELD_NAME_FORUM %}
{{ form.as_p() }}
<p><input type="submit" value="{% trans %}Save{% endtrans %}" /></p>
</form>