diff --git a/src/components/views/settings/SetIdServer.js b/src/components/views/settings/SetIdServer.js index 73b8514327..b95a7f5ae5 100644 --- a/src/components/views/settings/SetIdServer.js +++ b/src/components/views/settings/SetIdServer.js @@ -172,7 +172,7 @@ export default class SetIdServer extends React.Component { _disconnectIdServer = () => { MatrixClientPeg.get().setIdentityServerUrl(null); - localStorage.removeItem("mx_is_access_token", fullUrl); + localStorage.removeItem("mx_is_access_token"); localStorage.removeItem("mx_is_url"); this.setState({ busy: false,