summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/app.js b/app/app.js
index 8c3410568f..e28d85582e 100644
--- a/app/app.js
+++ b/app/app.js
@@ -34,8 +34,7 @@ ipcRenderer.on('backend-info', (_event, args) => {
}
})
.catch( e => {
- const noUserSetInTheBackend = e.type === 'NO_ACCOUNT';
- if (noUserSetInTheBackend) {
+ if (e.type === 'NO_ACCOUNT') {
log.debug('No user set in the backend, showing window');
ipcRenderer.send('show-window');
}