diff --git a/tdrive/frontend/src/app/features/auth/login-service.ts b/tdrive/frontend/src/app/features/auth/login-service.ts index eea5a7dd..ad87a052 100755 --- a/tdrive/frontend/src/app/features/auth/login-service.ts +++ b/tdrive/frontend/src/app/features/auth/login-service.ts @@ -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;