diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2011-08-16 16:33:11 +0300 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2011-08-16 16:33:11 +0300 |
commit | a1b6966f71a252212428f7f8c1cec1aa59535fb6 (patch) | |
tree | 5bfb097a44baa5105f7063364057e7beba9b1985 /templates | |
parent | Bind as the current user instead of the admin account (diff) | |
download | identity.gentoo.org-a1b6966f71a252212428f7f8c1cec1aa59535fb6.tar.gz identity.gentoo.org-a1b6966f71a252212428f7f8c1cec1aa59535fb6.tar.bz2 identity.gentoo.org-a1b6966f71a252212428f7f8c1cec1aa59535fb6.zip |
Add csrf token in the edit account template
Diffstat (limited to 'templates')
-rw-r--r-- | templates/account/edit.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/account/edit.html b/templates/account/edit.html index 4400896..fa502f2 100644 --- a/templates/account/edit.html +++ b/templates/account/edit.html @@ -1,7 +1,7 @@ {% if msg %} {{ msg }} {% else %} - <form action="." method="POST"> + <form action="." method="POST">{% csrf_token %} {% for field in form %}<br /> {{ field.label_tag}}{{ field }}<br /> {% endfor %} |