diff --git a/support-portal-frontend/src/app/component/login/login.component.ts b/support-portal-frontend/src/app/component/login/login.component.ts index 669fbc9..64d4df6 100644 --- a/support-portal-frontend/src/app/component/login/login.component.ts +++ b/support-portal-frontend/src/app/component/login/login.component.ts @@ -28,8 +28,6 @@ export class LoginComponent implements OnInit, OnDestroy { if (this.authenticationService.isUserLoggedIn()) { this.router.navigateByUrl("/user/management"); this.notificationService.notify(NotificationType.INFO, "You are already logged in"); - } else { - // this.router.navigateByUrl("/login"); } } @@ -49,7 +47,6 @@ export class LoginComponent implements OnInit, OnDestroy { this.showLoading = false; }, (errorResponse: HttpErrorResponse) => { - console.log(errorResponse); this.sendErrorNotification(errorResponse.error.message); this.showLoading = false; } diff --git a/support-portal-frontend/src/app/component/register/register.component.ts b/support-portal-frontend/src/app/component/register/register.component.ts index 5d1380f..cc6711c 100644 --- a/support-portal-frontend/src/app/component/register/register.component.ts +++ b/support-portal-frontend/src/app/component/register/register.component.ts @@ -41,7 +41,6 @@ export class RegisterComponent implements OnInit, OnDestroy { this.showLoading = false; }, (errorResponse: HttpErrorResponse) => { - console.log(errorResponse); this.sendErrorNotification(errorResponse.error.message); this.showLoading = false; }