typo in passport.deserializeUser documentation #73

Closed
dweldon opened this Issue Nov 6, 2012 · 1 comment

Comments

Projects
None yet
2 participants

dweldon commented Nov 6, 2012

In Configuration/Sessions, the documentation says:

User.findOne(id,

Which, if you happen to be using mongoose, won't do what you want. I think you mean either:

User.findOne({_id: id},

or

User.findById(id,
Owner

jaredhanson commented Feb 12, 2013

Corrected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment