Add global CSRF protection
This commit is contained in:
parent
ab09314ed3
commit
4ed522ae47
15 changed files with 28 additions and 22 deletions
|
@ -36,6 +36,7 @@
|
|||
<br />
|
||||
|
||||
${h.form(request.current_route_url())}
|
||||
${h.csrf_token(request)}
|
||||
<div class="buttons">
|
||||
<a class="button" href="${form.cancel_url}">Whoops, nevermind...</a>
|
||||
<button type="button" id="confirm-delete">Yes, please DELETE this data forever!</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue