client/api: fix login error handling
This commit is contained in:
parent
0b5f436f40
commit
f5272bb5f3
@ -23,7 +23,6 @@ const api = require('./api.js');
|
||||
api.loginFromCookies().then(() => {
|
||||
page();
|
||||
}).catch(errorMessage => {
|
||||
page();
|
||||
page('/');
|
||||
events.notify(
|
||||
events.Error,
|
||||
|
Loading…
x
Reference in New Issue
Block a user