7 lines
149 B
JavaScript
7 lines
149 B
JavaScript
|
const serializeUser = (user, done) => {
|
||
|
// returns user data to be serialized into session
|
||
|
done(null, user);
|
||
|
};
|
||
|
|
||
|
module.exports = serializeUser;
|