-
-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MatrixClient.login
no longer stashes the returned access token
Previously, `MatrixClient.login` had some very unintuitive behaviour where it stashed the access token, but not the device id, refresh token, etc etc, which led people to imagine that they had a functional MatrixClient when they didn't. Ideally we would stash all the returned credentials so that the app doesn't need to make a new MatrixClient, but that's a bit complicated (especially with OIDC) and more than I have time for, so let's at least disable the footgun by not saving *anything*. Fixes: #4502
- Loading branch information
Showing
1 changed file
with
17 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters