diff --git a/src/pages/login/login.component.ts b/src/pages/login/login.component.ts index 677a2f9..fb22b30 100644 --- a/src/pages/login/login.component.ts +++ b/src/pages/login/login.component.ts @@ -82,7 +82,7 @@ export class LoginComponent { }) .pipe(catchError(error => { this.loaderActive = false; - this.errorText = error.error instanceof String ? error.error : error.statusText; + this.errorText = error.error instanceof String ? error.statusText : error.error; this.loginButtonIsDisable = true; throw error; }))