Add initial support for CSRF token protection
This commit is contained in:
parent
11e78adaab
commit
ab09314ed3
8 changed files with 61 additions and 6 deletions
|
@ -17,6 +17,7 @@
|
|||
<div class="form">
|
||||
${form.begin(**{'data-ajax': 'false'})}
|
||||
${form.hidden('referrer', value=referrer)}
|
||||
${form.csrf_token()}
|
||||
|
||||
${form.field_div('username', form.text('username'))}
|
||||
${form.field_div('password', form.password('password'))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue