Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add csrf

  • Loading branch information...
commit 6824fa50a8896eb21361673198fcac67bd4475f6 1 parent 3ede283
@ulope authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  guardhouse/main/templates/main/site_confirm_delete.html
View
1  guardhouse/main/templates/main/site_confirm_delete.html
@@ -10,6 +10,7 @@
Are you sure you want to delete the site '{{ site_name }}' ({{ site_domain }})?
{% endblocktrans %}</p>
<form action="." method="post">
+ {% csrf_token %}
<a href="{% url "sites" %}">{% trans "Don't delete" %}</a>
<input type="submit" value="{% trans "Delete" %}" />
</form>
Please sign in to comment.
Something went wrong with that request. Please try again.