spee.ch/server/speechPassport/utils/deserializeUser.js

8 lines
205 B
JavaScript
Raw Normal View History

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