From e9ff4571388ed8dbad8953614b8ede4b441d4d55 Mon Sep 17 00:00:00 2001 From: Ricardo Loureiro Date: Mon, 11 Dec 2023 11:59:39 -0300 Subject: [PATCH] rota apos login --- src/app/pages/login/login.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/pages/login/login.component.ts b/src/app/pages/login/login.component.ts index 5a2ecb8c..14d33610 100644 --- a/src/app/pages/login/login.component.ts +++ b/src/app/pages/login/login.component.ts @@ -38,7 +38,7 @@ export class LoginComponent implements OnInit { .loginUser(this.userForm.value).subscribe({ next: (data) => { localStorage.setItem('token', data.access_token); - this.navigator('/videos'); + this.navigator('/catalog'); }, error: (error: ErrorResponseType) => { this.alertService.errorMessage(error.error);