Created
January 12, 2022 09:40
-
-
Save nikshinde-7/efeab965f30e9eabeda27a7070871714 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// serializeUser is just basically an lifecycle method in PassPortJS. | |
passport.serializeUser((user, done) => { | |
done(null, user); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment