🩹 Frontend internal login - return to retryable state after credentials error
This commit is contained in:
committed by
Anton Shepilov
parent
0e7bc18cbc
commit
60074360bc
@@ -194,7 +194,9 @@ class Login extends Observable {
|
||||
}
|
||||
await this.updateUser();
|
||||
} catch (err) {
|
||||
throw Error('Can not login');
|
||||
this.login_loading = false;
|
||||
this.login_error = true;
|
||||
this.notify();
|
||||
} finally {
|
||||
this.logger.debug('Login process finished');
|
||||
Login.logInOngoing = false;
|
||||
|
||||
Reference in New Issue
Block a user