Add token to counter to see pictures and to prevend misuses

This commit is contained in:
Skia
2016-09-26 11:17:00 +02:00
parent 37072e1640
commit a4ad7f0e85
5 changed files with 60 additions and 4 deletions

View File

@ -31,6 +31,7 @@
<p>{% trans %}Enter client code:{% endtrans %}</p>
<form method="post" action="">
{% csrf_token %}
<input type="hidden" name="counter_token" value="{{ counter.token }}" />
{{ form.as_p() }}
<p><input type="submit" value="{% trans %}validate{% endtrans %}" /></p>
</form>