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; break;
case 'on_logged_out': case 'on_logged_out':
this.reset(); this._setState({
cachedPassword: null,
});
break; break;
} }
} }