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