Change token to _csrf

This commit is contained in:
Brian Ridings
2014-03-28 10:38:29 -04:00
parent 9587150e7b
commit 205318ea42

View File

@ -3,7 +3,7 @@ extends ../layout
block content block content
form(method='POST') form(method='POST')
legend Sign In legend Sign In
input(type='hidden', name='_csrf', value=token) input(type='hidden', name='_csrf', value=_csrf)
.col-sm-8.col-sm-offset-2 .col-sm-8.col-sm-offset-2
if secrets.localAuth if secrets.localAuth
.form-group .form-group
@ -37,4 +37,4 @@ block content
if secrets.linkedinAuth if secrets.linkedinAuth
a.btn.btn-block.btn-linkedin.btn-social(href='/auth/linkedin') a.btn.btn-block.btn-linkedin.btn-social(href='/auth/linkedin')
i.fa.fa-linkedin i.fa.fa-linkedin
| Sign in with LinkedIn | Sign in with LinkedIn