fix: Redirect to homepage after login

This commit is contained in:
Phan Huy Tran 2025-02-26 10:03:34 +01:00
parent cc8f553d66
commit 3b1a97c08a
2 changed files with 2 additions and 2 deletions

View file

@ -21,6 +21,6 @@ export default class LoginSuccessComponent implements OnInit {
const user = await this.userService.getOrCreateUser(userProfile);
sessionStorage.setItem('user', JSON.stringify(user));
this.router.navigate(['']);
this.router.navigate(['home']);
}
}