Some security against XSRF-attacks

This commit is contained in:
Tobias Hößl 2012-03-12 20:17:37 +00:00
parent 9574f7df03
commit 59766b944c
13 changed files with 131 additions and 38 deletions

View file

@ -3,6 +3,8 @@ $tabs
<h1>$title</h1>
<form method="POST">
<input type='hidden' name='form_security_token' value='$form_security_token'>
{{ inc field_input.tpl with $field=$name }}{{ endinc }}
{{ inc field_input.tpl with $field=$key }}{{ endinc }}
{{ inc field_input.tpl with $field=$secret }}{{ endinc }}