mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-04 12:25:02 +03:00
Remove cachedPassword from localStorage on_logged_out
Fixes https://github.com/vector-im/riot-web/issues/4101
This commit is contained in:
parent
b51f5ac6d1
commit
d83f18ab46
1 changed files with 3 additions and 1 deletions
|
@ -69,7 +69,9 @@ class SessionStore extends Store {
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case 'on_logged_out':
|
case 'on_logged_out':
|
||||||
this.reset();
|
this._setState({
|
||||||
|
cachedPassword: null,
|
||||||
|
});
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue