8 lines
184 B
JavaScript
8 lines
184 B
JavaScript
|
const serializeUser = (user, done) => {
|
||
|
// returns user data to be serialized into session
|
||
|
console.log('serializing user');
|
||
|
done(null, user);
|
||
|
};
|
||
|
|
||
|
module.exports = serializeUser;
|