7 lines
205 B
JavaScript
7 lines
205 B
JavaScript
const deserializeUser = (user, done) => {
|
|
// deserializes session and populates additional info to req.user
|
|
console.log('deserializing user');
|
|
done(null, user);
|
|
};
|
|
|
|
module.exports = deserializeUser;
|