Skip to content

Return value in passport-init serializeUser#5

Open
aseempatni wants to merge 1 commit intohwz:masterfrom
aseempatni:master
Open

Return value in passport-init serializeUser#5
aseempatni wants to merge 1 commit intohwz:masterfrom
aseempatni:master

Conversation

@aseempatni
Copy link

The serializeUser method in passport-init.js wasn't having any return value.

It should return done(null, user.username);

It won't be a big change but passport module expects a return value from this function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant