Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding CSRF tokens to forms that need them.

  • Loading branch information...
commit 5edc6d4db589bcdae2649974f697f6843bb61c50 1 parent c72dbf4
@brandonsavage brandonsavage authored
View
1  apps/users/templates/registration/password_change_form.html
@@ -9,6 +9,7 @@
<form method="post" action="">
<table class="formtable">
+ {% csrf_token %}
{{ form.as_table }}
</table>
View
1  apps/users/templates/registration/password_reset_confirm.html
@@ -8,6 +8,7 @@
correctly.</p>
<form method="post" action="">
+ {% csrf_token %}
<table class="formtable">
{{ form.as_table }}
</table>
View
1  apps/users/templates/registration/profile.html
@@ -13,6 +13,7 @@
{% endif %}
<form method="post">
+ {% csrf_token %}
<table class="formtable">
{{ django_user_form.as_table }}
{{ user_profile_form.as_table }}
Please sign in to comment.
Something went wrong with that request. Please try again.