Permalink
Browse files

Adding CSRF tokens to forms that need them.

  • Loading branch information...
1 parent c72dbf4 commit 5edc6d4db589bcdae2649974f697f6843bb61c50 @brandonsavage brandonsavage committed Sep 21, 2012
@@ -9,6 +9,7 @@ <h2>{% block title %}Password Change{% endblock %}</h2>
<form method="post" action="">
<table class="formtable">
+ {% csrf_token %}
{{ form.as_table }}
</table>
@@ -8,6 +8,7 @@ <h2>{% block title %}Enter New Password{% endblock %}</h2>
correctly.</p>
<form method="post" action="">
+ {% csrf_token %}
<table class="formtable">
{{ form.as_table }}
</table>
@@ -13,6 +13,7 @@ <h2>{% block title %}Edit User Profile{% endblock %}</h2>
{% endif %}
<form method="post">
+ {% csrf_token %}
<table class="formtable">
{{ django_user_form.as_table }}
{{ user_profile_form.as_table }}

0 comments on commit 5edc6d4

Please sign in to comment.