diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-06-15 20:14:51 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-07-06 12:58:57 +0100 |
commit | 9d8ae07980bccd58e11acbc82e60b651ed20c181 (patch) | |
tree | ccfa198d3ec4bc0a0d903b8c59d89efa32c3ccc7 /templates/web/base/admin/user-form.html | |
parent | f0911da291b55801e69132a4d6f0a312089fdc18 (diff) |
Improve CSRF tokens and add to more forms.
Diffstat (limited to 'templates/web/base/admin/user-form.html')
-rw-r--r-- | templates/web/base/admin/user-form.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/admin/user-form.html b/templates/web/base/admin/user-form.html index 3956e8533..b863bf96a 100644 --- a/templates/web/base/admin/user-form.html +++ b/templates/web/base/admin/user-form.html @@ -1,5 +1,5 @@ <form method="post" action="[% c.uri_for( 'user_edit', user.id ) %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8"> - <input type="hidden" name="token" value="[% token %]" > + <input type="hidden" name="token" value="[% csrf_token %]" > <input type="hidden" name="submit" value="1" > [% IF c.cobrand.moniker == 'zurich' AND field_errors.email %] |