Removed if-checks, all authentications enabled by default
This commit is contained in:
@ -5,7 +5,6 @@ block content
|
|||||||
legend Sign In
|
legend Sign In
|
||||||
input(type='hidden', name='_csrf', value=_csrf)
|
input(type='hidden', name='_csrf', value=_csrf)
|
||||||
.col-sm-8.col-sm-offset-2
|
.col-sm-8.col-sm-offset-2
|
||||||
if secrets.localAuth
|
|
||||||
.form-group
|
.form-group
|
||||||
label.control-label(for='email') Email
|
label.control-label(for='email') Email
|
||||||
input.form-control(type='text', name='email', id='email', placeholder='Email', autofocus=true)
|
input.form-control(type='text', name='email', id='email', placeholder='Email', autofocus=true)
|
||||||
@ -18,23 +17,18 @@ block content
|
|||||||
| Login
|
| Login
|
||||||
a.btn.btn-link(href='/forgot') Forgot your password?
|
a.btn.btn-link(href='/forgot') Forgot your password?
|
||||||
hr
|
hr
|
||||||
if secrets.facebookAuth
|
|
||||||
a.btn.btn-block.btn-facebook.btn-social(href='/auth/facebook')
|
a.btn.btn-block.btn-facebook.btn-social(href='/auth/facebook')
|
||||||
i.fa.fa-facebook
|
i.fa.fa-facebook
|
||||||
| Sign in with Facebook
|
| Sign in with Facebook
|
||||||
if secrets.twitterAuth
|
|
||||||
a.btn.btn-block.btn-twitter.btn-social(href='/auth/twitter')
|
a.btn.btn-block.btn-twitter.btn-social(href='/auth/twitter')
|
||||||
i.fa.fa-twitter
|
i.fa.fa-twitter
|
||||||
| Sign in with Twitter
|
| Sign in with Twitter
|
||||||
if secrets.googleAuth
|
|
||||||
a.btn.btn-block.btn-google-plus.btn-social(href='/auth/google')
|
a.btn.btn-block.btn-google-plus.btn-social(href='/auth/google')
|
||||||
i.fa.fa-google-plus
|
i.fa.fa-google-plus
|
||||||
| Sign in with Google
|
| Sign in with Google
|
||||||
if secrets.githubAuth
|
|
||||||
a.btn.btn-block.btn-github.btn-social(href='/auth/github')
|
a.btn.btn-block.btn-github.btn-social(href='/auth/github')
|
||||||
i.fa.fa-github
|
i.fa.fa-github
|
||||||
| Sign in with GitHub
|
| Sign in with GitHub
|
||||||
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