1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Remove cachedPassword from localStorage on_logged_out

Fixes https://github.com/vector-im/riot-web/issues/4101
This commit is contained in:
Luke Barnard
2017-05-31 10:03:16 +01:00
parent b51f5ac6d1
commit d83f18ab46

View File

@ -69,7 +69,9 @@ class SessionStore extends Store {
});
break;
case 'on_logged_out':
this.reset();
this._setState({
cachedPassword: null,
});
break;
}
}