mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-27 10:00:40 -04:00
Added unlink provider name to URLs
This commit is contained in:
@@ -76,16 +76,16 @@ block content
|
||||
p: a(href='/auth/google') Link your Google account
|
||||
|
||||
if user.facebook
|
||||
p: a.text-danger(href='/account/unlink/') Unlink your Facebook account
|
||||
p: a.text-danger(href='/account/unlink/facebook') Unlink your Facebook account
|
||||
else
|
||||
p: a(href='/auth/facebook') Link your Facebook account
|
||||
|
||||
if user.twitter
|
||||
p: a.text-danger(href='/account/unlink/') Unlink your Twitter account
|
||||
p: a.text-danger(href='/account/unlink/twitter') Unlink your Twitter account
|
||||
else
|
||||
p: a(href='/auth/twitter') Link your Twitter account
|
||||
|
||||
if user.github
|
||||
p: a.text-danger(href='/account/unlink/') Unlink your GitHub account
|
||||
p: a.text-danger(href='/account/unlink/github') Unlink your GitHub account
|
||||
else
|
||||
p: a(href='/auth/github') Link your GitHub account
|
||||
|
||||
Reference in New Issue
Block a user