From: John 'Warthog9' Hawley
Date: Thu, 24 Jun 2010 16:38:06 +0000 (-0700)
Subject: templates: Add CSRF (cross-site request forgery) values to form posts
X-Git-Tag: v0.9.0~199
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=482ba5ac5e2fb71a8ae26ae9d5c5c72c33c35b23;p=thirdparty%2Fpatchwork.git
templates: Add CSRF (cross-site request forgery) values to form posts
This is a fairly simple patch, basically it does what the error message
told me to do:
"add In the template, there is a {% csrf_token %} template tag inside each POST form that targets an internal URL."
Signed-off-by: John 'Warthog9' Hawley
---
diff --git a/templates/patchwork/bundle.html b/templates/patchwork/bundle.html
index 616a62ee..a2933d5f 100644
--- a/templates/patchwork/bundle.html
+++ b/templates/patchwork/bundle.html
@@ -26,6 +26,7 @@ project.