Skip to content

Removed preset of req.cookies which conflicted with cookie-parse package#58

Open
dustinbolton wants to merge 2 commits intoAminadav:masterfrom
dustinbolton:master
Open

Removed preset of req.cookies which conflicted with cookie-parse package#58
dustinbolton wants to merge 2 commits intoAminadav:masterfrom
dustinbolton:master

Conversation

@dustinbolton
Copy link
Copy Markdown

Express does not populate req.cookies by default. This break the popular "cookie-parse" middleware package as it sees the empty object and does not parse cookies. Removing this empty object default fixes the problem.

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