mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +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;
|
let newFormValue = this.state.idServer;
|
||||||
if (!errStr) {
|
if (!errStr) {
|
||||||
MatrixClientPeg.get().setIdentityServerUrl(fullUrl);
|
MatrixClientPeg.get().setIdentityServerUrl(fullUrl);
|
||||||
|
localStorage.removeItem("mx_is_access_token", fullUrl);
|
||||||
localStorage.setItem("mx_is_url", fullUrl);
|
localStorage.setItem("mx_is_url", fullUrl);
|
||||||
newFormValue = '';
|
newFormValue = '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue