summaryrefslogtreecommitdiffhomepage
path: root/app/lib
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/backend.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js
index d36fc36d41..bc6eeeb8ff 100644
--- a/app/lib/backend.js
+++ b/app/lib/backend.js
@@ -214,11 +214,7 @@ export class Backend {
this._ipc.setAccount('')
.then(() => {
- this._store.dispatch(accountActions.loginChange({
- status: 'none',
- accountNumber: null,
- paidUntil: null,
- }));
+ this._store.dispatch(accountActions.loggedOut());
// disconnect user during logout
return this.disconnect()