Add CSRF input to Account Delete form.

This commit is contained in:
Sahat Yalkabov
2014-02-07 23:41:15 -05:00
parent db50b485da
commit 1143ac4320

View File

@ -68,6 +68,7 @@ block content
p You can delete your account, but keep in mind this action is irreversible.
form(action='/account/delete', method='POST')
input(type='hidden', name='_csrf', value=token)
button.btn.btn-danger(type='submit')
i.fa.fa-trash-o
| Delete my account