🩹 Frontend internal login - return to retryable state after credentials error

This commit is contained in:
Eric Doughty-Papassideris
2024-03-07 15:15:19 +01:00
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;