[snowy] Add {% csrf_token %} on the preferences formsets
- From: Jeff Schroeder <jschroeder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [snowy] Add {% csrf_token %} on the preferences formsets
- Date: Fri, 7 Oct 2011 04:17:54 +0000 (UTC)
commit b455d8367f54d7b2ae27795ffa886b051b2afbdb
Author: Jeff Schroeder <jeffschroeder computer org>
Date: Thu Oct 6 21:17:07 2011 -0700
Add {% csrf_token %} on the preferences formsets
accounts/templates/accounts/preferences.html | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/accounts/templates/accounts/preferences.html b/accounts/templates/accounts/preferences.html
index 6defcaa..337501d 100644
--- a/accounts/templates/accounts/preferences.html
+++ b/accounts/templates/accounts/preferences.html
@@ -24,7 +24,7 @@
<h1>{% trans "Preferences" %}</h1>
{% if user.has_usable_password %}
<h3>{% trans "Change your password" %}</h3>
-<form method="POST">
+<form method="POST">{% csrf_token %}
<table class="input-form">
{{ password_form.as_table }}
<tfoot>
@@ -41,7 +41,7 @@
{% endif %}
<h3>{% trans "Change your Email address" %}</h3>
-<form method="POST">
+<form method="POST">{% csrf_token %}
<table class="input-form">
{{ email_form.as_table }}
<tfoot>
@@ -57,7 +57,7 @@
</form>
<h3>{% trans "Internationalization" %}</h3>
-<form method="POST">
+<form method="POST">{% csrf_token %}
<table class="input-form">
{{ i18n_form.as_table }}
<tfoot>
@@ -73,7 +73,7 @@
</form>
<h3>{% trans "OpenID Accounts" %}</h3>
-<form method="POST">
+<form method="POST">{% csrf_token %}
<table class="input-form">
<tr>
<th>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]