From 18b70061535251aa754d95820cc6c389916dcf30 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Tue, 8 Nov 2011 15:04:27 +0100 Subject: [PATCH] Add csrf tokens as required --- templates/account/password_change.html | 2 +- templates/account/password_reset.html | 2 +- templates/account/password_reset_confirm.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/account/password_change.html b/templates/account/password_change.html index e876abfa..f37b9aa4 100644 --- a/templates/account/password_change.html +++ b/templates/account/password_change.html @@ -5,7 +5,7 @@ From this form you can change the password of your community account.

-
+{% csrf_token %}
{{ form.old_password.errors }} {{ form.old_password }} diff --git a/templates/account/password_reset.html b/templates/account/password_reset.html index 0b09b684..ea64ccb9 100644 --- a/templates/account/password_reset.html +++ b/templates/account/password_reset.html @@ -7,7 +7,7 @@ If you've forgotten your password, you can enter your email address in the field and we'll email you instructions for setting a new one.

- +{% csrf_token %}
{{ form.email.errors }} {{ form.email }} diff --git a/templates/account/password_reset_confirm.html b/templates/account/password_reset_confirm.html index 62e47c55..5afdb3ba 100644 --- a/templates/account/password_reset_confirm.html +++ b/templates/account/password_reset_confirm.html @@ -7,7 +7,7 @@

Please enter your new password twice so we can verify you typed it in correctly.

- +{% csrf_token %}
{{ form.new_password1.errors }} {{ form.new_password1 }} -- 2.39.5