diff options
-rw-r--r-- | config/passport.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/passport.js b/config/passport.js index 9518409..68d5204 100644 --- a/config/passport.js +++ b/config/passport.js @@ -52,6 +52,7 @@ module.exports = function (passport, config) { // looks up the user in the database. Will create the user if it does not exist User.findOne({ 'facebook.id': profile.id }, function(err, user) { if(err) return done(err); + console.log(profile); if (!user) { user = new User({ name: profile.displayName |