diff gpp/templates/messages/inbox.html @ 257:6e7e84707e7d

Fix #106: CSRF verification failures on the deleting of checked PMs.
author Brian Neal <bgneal@gmail.com>
date Tue, 21 Sep 2010 01:16:02 +0000
parents d51743322bb2
children daa2916f5b34
line wrap: on
line diff
--- a/gpp/templates/messages/inbox.html	Tue Sep 21 00:59:31 2010 +0000
+++ b/gpp/templates/messages/inbox.html	Tue Sep 21 01:16:02 2010 +0000
@@ -15,7 +15,7 @@
 {% endif %}
 {% if msgs %}
    <form action="{% url messages-delete_bulk %}" method="post" name="messages_box_form"
-      onsubmit="return messages_confirm_delete();">
+      onsubmit="return messages_confirm_delete();">{% csrf_token %}
    <table class="messages">
    <tr>
       <th>From</th>