mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 20:09:25 +00:00
Add token to counter to see pictures and to prevend misuses
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user