Remove spurious {% antispam_fields %} tag from auth templates

This commit is contained in:
Anna Sidwell 2019-08-20 12:35:34 +02:00
parent 758c21e124
commit c850a99200
2 changed files with 0 additions and 2 deletions

View File

@ -14,7 +14,6 @@
{% bootstrap_messages %}
<form action="{% url 'auth_login' %}?next={{next}}" method="post">
{% csrf_token %}
{% antispam_fields %}
{{form|crispy}}
<p><a href="{% url 'auth_password_reset' %}">{% trans "Lost password?" %}</a></p>
<input class="btn btn-success pull-right" type="submit" name="submit" value="{% trans 'Login' %}"/>

View File

@ -14,7 +14,6 @@
{% bootstrap_messages %}
<form action="{% url 'registration_register' %}" method="post">
{% csrf_token %}
{% antispam_fields %}
{{ form|crispy }}
<input class="btn btn-success pull-right" type="submit" name="su/bmit" value="{% trans 'Register'%}"/>
</form>