Update profile.jade

Changed value=token to value=_csrf, this fixed the issue I had with deleting accounts.
This commit is contained in:
kaneschutzman
2014-04-17 23:05:00 -10:00
parent 1f63e5c424
commit 520f63bbca

View File

@ -65,7 +65,7 @@ block content
p You can delete your account, but keep in mind this action is irreversible. p You can delete your account, but keep in mind this action is irreversible.
form(action='/account/delete', method='POST') 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') button.btn.btn-danger(type='submit')
i.fa.fa-trash-o i.fa.fa-trash-o
| Delete my account | Delete my account