Change token to _csrf
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user