mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
fix(fbAuth): get user email @lefnire this should be all we need but not having the keys i can not test before going live
This commit is contained in:
parent
faed77f186
commit
6340312695
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ api.setupPassport = function(router) {
|
|||
// redirecting the user to facebook.com. After authorization, Facebook will
|
||||
// redirect the user back to this application at /auth/facebook/callback
|
||||
router.get('/auth/facebook',
|
||||
passport.authenticate('facebook'),
|
||||
passport.authenticate('facebook', {scope: 'email'}),
|
||||
i18n.getUserLanguage,
|
||||
function(req, res){
|
||||
// The request will be redirected to Facebook for authentication, so this
|
||||
|
|
|
|||
Loading…
Reference in a new issue