mirror of
https://github.com/codl/forget
synced 2025-01-17 01:27:01 +01:00
add csrf token to warning pages (whoops! closes #5)
This commit is contained in:
parent
ccf1ca9c56
commit
cdc30b4f8b
@ -9,6 +9,7 @@
|
||||
<div>
|
||||
<form method='post'>
|
||||
<input name='confirm' value='Do it' type='submit'/>
|
||||
<input name='csrf-token' value='{{g.viewer.csrf_token}}' type='hidden'/>
|
||||
</form>
|
||||
<form action='{{url_for("index")}}'>
|
||||
<input name='confirm' value='Cancel' type='submit'/>
|
||||
|
Loading…
Reference in New Issue
Block a user