diff --git a/views/account/profile.jade b/views/account/profile.jade index 3f5fdbe8126..c31cc5fe390 100644 --- a/views/account/profile.jade +++ b/views/account/profile.jade @@ -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 @@ -96,4 +96,4 @@ block content if user.linkedin p: a.text-danger(href='/account/unlink/linkedin') Unlink your LinkedIn account else - p: a(href='/auth/linkedin') Link your LinkedIn account \ No newline at end of file + p: a(href='/auth/linkedin') Link your LinkedIn account