Merge remote-tracking branch 'origin/dbkr/change_is' into dbkr/disco_is

This commit is contained in:
David Baker 2019-08-12 14:39:46 +01:00
commit ebc84b4445

View file

@ -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 = '';
} }