apres identification, envoie directement sur la page infos...
This commit is contained in:
1 parent
8423f2b4c5
commit
f4f903421e
1 file changed
+1
-1
@@ -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;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user