From 4907c23e0dffb295cb81bc10958ff029243d4d64 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Wed, 15 May 2013 11:34:05 +0200 Subject: facebookauth now logs profile to console --- config/passport.js | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3