add csrf token to warning pages (whoops! closes #5)

This commit is contained in:
codl 2017-08-26 15:54:48 +02:00
parent ccf1ca9c56
commit cdc30b4f8b
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 0 deletions

View File

@ -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'/>