mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 02:35:48 +03:00
Merge remote-tracking branch 'origin/dbkr/change_is' into dbkr/disco_is
This commit is contained in:
commit
ebc84b4445
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,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 = '';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue