diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-01-25 20:23:18 +0100 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-01-25 20:23:18 +0100 |
| commit | 98b641551cf1af355ed7816fb7e861625ffa8f1e (patch) | |
| tree | 08c7473c1de77b468cb6383ecd9a28d120a40e4d | |
| parent | ee110d4725943bbc2b783323ec5087324531ca33 (diff) | |
fb
| -rw-r--r-- | server/lib/auth/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/auth/index.js b/server/lib/auth/index.js index 8e20bcc..46bff21 100644 --- a/server/lib/auth/index.js +++ b/server/lib/auth/index.js @@ -247,7 +247,7 @@ var auth = { facebookUrl: profile.username ? "https://facebook.com/" + profile.username : "" }; - User.findOne({twitter_id: profile.id}, function(err, data){ + User.findOne({facebook_id: profile.id}, function(err, data){ if (! err && data) { return done(err, data); } |
