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