Skip to content
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

Preserve current session when invalidating tokens [2.x] #3103

Merged
merged 2 commits into from
Jan 16, 2017

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Jan 16, 2017

Back-port of #3098
See #3034

Important: the current session is preserved only when the User model has injectOptionsFromRemoteContext enabled or the application injects the "options" argument using a custom solution.

cc @ivanschwarz @doublemarked

@bajtos bajtos self-assigned this Jan 16, 2017
Fix User model to preserve the current session (provided via
"options.accessToken") when invalidating access tokens after a change
of email or password property.
@bajtos bajtos force-pushed the backport/preserve-current-access-token branch from 02a5e01 to afd6dd7 Compare January 16, 2017 10:02
@bajtos
Copy link
Member Author

bajtos commented Jan 16, 2017

@slnode test please

1 similar comment
@bajtos
Copy link
Member Author

bajtos commented Jan 16, 2017

@slnode test please

@bajtos bajtos merged commit c7d07b6 into 2.x Jan 16, 2017
@bajtos bajtos deleted the backport/preserve-current-access-token branch January 16, 2017 11:00
@bajtos
Copy link
Member Author

bajtos commented Jan 16, 2017

Released in [email protected]

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.

2 participants