# HG changeset patch # User Brian Neal # Date 1285031762 0 # Node ID 6e7e84707e7d91e049d45657553f2d4398ed5726 # Parent 9c82c79848848ebf9d72a58b55147c387cf63aa6 Fix #106: CSRF verification failures on the deleting of checked PMs. diff -r 9c82c7984884 -r 6e7e84707e7d gpp/templates/messages/inbox.html --- 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 %}
+ onsubmit="return messages_confirm_delete();">{% csrf_token %} diff -r 9c82c7984884 -r 6e7e84707e7d gpp/templates/messages/outbox.html --- a/gpp/templates/messages/outbox.html Tue Sep 21 00:59:31 2010 +0000 +++ b/gpp/templates/messages/outbox.html Tue Sep 21 01:16:02 2010 +0000 @@ -15,7 +15,7 @@ {% endif %} {% if msgs %} + onsubmit="return messages_confirm_delete();">{% csrf_token %}
From
diff -r 9c82c7984884 -r 6e7e84707e7d gpp/templates/messages/trash.html --- a/gpp/templates/messages/trash.html Tue Sep 21 00:59:31 2010 +0000 +++ b/gpp/templates/messages/trash.html Tue Sep 21 01:16:02 2010 +0000 @@ -15,7 +15,7 @@ {% endif %} {% if msgs %} + onsubmit="return messages_confirm_undelete();">{% csrf_token %}
To
From