-
Notifications
You must be signed in to change notification settings - Fork 10.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Forget session on window close #33040
Conversation
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: 9997420 The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #33040 +/- ##
========================================
Coverage 59.43% 59.43%
========================================
Files 2546 2546
Lines 63257 63257
Branches 14236 14236
========================================
Hits 37596 37596
Misses 22941 22941
Partials 2720 2720
Flags with carried forward coverage won't be shown. Click here to find out more. |
apps/meteor/tests/e2e/account-forgetSessionOnWindowClose.spec.ts
Outdated
Show resolved
Hide resolved
apps/meteor/tests/e2e/account-forgetSessionOnWindowClose.spec.ts
Outdated
Show resolved
Hide resolved
apps/meteor/tests/e2e/account-forgetSessionOnWindowClose.spec.ts
Outdated
Show resolved
Hide resolved
apps/meteor/tests/e2e/account-forgetSessionOnWindowClose.spec.ts
Outdated
Show resolved
Hide resolved
apps/meteor/tests/e2e/account-forgetSessionOnWindowClose.spec.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving it on behalf of frontend team!
/patch |
Pull request #33129 added to Project: "Patch 6.11.2" |
/backport 6.10.5 |
Pull request #33130 added to Project: "Patch 6.10.5" |
Proposed changes (including videos or screenshots)
We have a setting to use session storage on browser instead of local storage, so that browser forgets the session after window close. Everything was working fine till we upgraded to meteor 2.16 version.
The new meteor 2.16 release introduced a new option to configure the Accounts package and choose between the local storage or session storage. They also changed how
Meteor._localstorage
works internally. Due to these changes in Meteor, our setting to use session storage wasn't working as expected.This PR fixes this issue and configures the Accounts package according to the workspace settings.
Issue(s)
Steps to test or reproduce
Further comments
SUP-639