mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-09 22:09:07 +00:00
fix(facebook): api facebook bug
This commit is contained in:
parent
82c6c14985
commit
2e4aa19ac8
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ api.loginFacebook = function(req, res, next) {
|
|||
});
|
||||
}
|
||||
return User.findOne({
|
||||
'auth.local.facebook.id': facebook_id
|
||||
'auth.facebook.id': facebook_id
|
||||
}, function(err, user) {
|
||||
if (err) {
|
||||
return res.json(401, {
|
||||
|
|
|
|||
Loading…
Reference in a new issue