Removed auth if-checks
This commit is contained in:
@@ -75,31 +75,26 @@ block content
|
||||
.page-header
|
||||
h3 Linked Accounts
|
||||
|
||||
if secrets.googleAuth
|
||||
if user.google
|
||||
p: a.text-danger(href='/account/unlink/google') Unlink your Google account
|
||||
else
|
||||
p: a(href='/auth/google') Link your Google account
|
||||
|
||||
if secrets.facebookAuth
|
||||
if user.facebook
|
||||
p: a.text-danger(href='/account/unlink/facebook') Unlink your Facebook account
|
||||
else
|
||||
p: a(href='/auth/facebook') Link your Facebook account
|
||||
|
||||
if secrets.twitterAuth
|
||||
if user.twitter
|
||||
p: a.text-danger(href='/account/unlink/twitter') Unlink your Twitter account
|
||||
else
|
||||
p: a(href='/auth/twitter') Link your Twitter account
|
||||
|
||||
if secrets.githubAuth
|
||||
if user.github
|
||||
p: a.text-danger(href='/account/unlink/github') Unlink your GitHub account
|
||||
else
|
||||
p: a(href='/auth/github') Link your GitHub account
|
||||
|
||||
if secrets.linkedinAuth
|
||||
if user.linkedin
|
||||
p: a.text-danger(href='/account/unlink/linkedin') Unlink your LinkedIn account
|
||||
else
|
||||
|
Reference in New Issue
Block a user