You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Remove the access token for the old IS
Pretty important that we don't send that to the new IS...
This commit is contained in:
@@ -137,6 +137,7 @@ export default class SetIdServer extends React.Component {
|
||||
let newFormValue = this.state.idServer;
|
||||
if (!errStr) {
|
||||
MatrixClientPeg.get().setIdentityServerUrl(fullUrl);
|
||||
localStorage.removeItem("mx_is_access_token", fullUrl);
|
||||
localStorage.setItem("mx_is_url", fullUrl);
|
||||
newFormValue = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user