8000 fix: Only initialize default Express session if oAuth is actually used by daffl · Pull Request #1648 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content

fix: Only initialize default Express session if oAuth is actually used#1648

Merged
daffl merged 1 commit intomasterfrom
express-session
Oct 26, 2019
Merged

fix: Only initialize default Express session if oAuth is actually used#1648
daffl merged 1 commit intomasterfrom
express-session

Conversation

@daffl
Copy link
Member
@daffl daffl commented Oct 25, 2019

Apparently express-session always throws a warning in production when it is initialized even if the middleware is not used. This PR makes initialization on-demand.

Closes #1646

@daffl daffl merged commit 9b9b43f into master Oct 26, 2019
@daffl daffl deleted the express-session branch October 26, 2019 02:09
EliSadaka pushed a commit to yusernetwork/authentication-oauth that referenced this pull request Oct 20, 2020
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.

Warning: connect.session() MemoryStore is not designed for a production environment

1 participant

0