]> git.ozlabs.org Git - patchwork/commit - templates/registration/login.html
templates: Add CSRF (cross-site request forgery) values to form posts
authorJohn 'Warthog9' Hawley <warthog9@kernel.org>
Thu, 24 Jun 2010 16:38:06 +0000 (09:38 -0700)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 10 Aug 2010 03:57:56 +0000 (11:57 +0800)
commit482ba5ac5e2fb71a8ae26ae9d5c5c72c33c35b23
tree30af42f92bc0143daf7fb17fde0d6e8043ace1ea
parent6f02427039f0a80484f99ebd4595e2ecdfc907bb
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 <warthog9@kernel.org>
templates/patchwork/bundle.html
templates/patchwork/bundles.html
templates/patchwork/patch-form.html
templates/patchwork/patch-list.html
templates/patchwork/patch.html
templates/patchwork/patchlist.html
templates/patchwork/profile.html
templates/patchwork/user-link.html
templates/registration/login.html
templates/registration/registration_form.html