oheryus

Results comments of oheryus

At last, i found where the problem is. I was not deserializing user : passport.deserializeUser(function(obj, done) { db.User.findOne(obj._id, function (err, user) { done(err, user); }); }); Now it is updated...

+1 for this. At least it can be written in the docs on how to do it