Update profile.jade

Changed value=token to value=_csrf, this fixed the issue I had with deleting accounts.
pull/2/head
kaneschutzman 2014-04-17 23:05:00 -10:00
parent 1f63e5c424
commit 520f63bbca
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,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)
input(type='hidden', name='_csrf', value=_csrf)
button.btn.btn-danger(type='submit')
i.fa.fa-trash-o
| Delete my account