diff --git a/src/app/components/login/login.component.ts b/src/app/components/login/login.component.ts index 1168d59..5f4cf62 100644 --- a/src/app/components/login/login.component.ts +++ b/src/app/components/login/login.component.ts @@ -38,7 +38,7 @@ export class LoginComponent implements OnInit { this.bs.loginUser(this.loginFG.value).subscribe( data => { console.log(data); - this.router.navigateByUrl("/"); + this.router.navigateByUrl("/infos"); }, err => { this.wrongCredentials = true; });