fix: Redirect to homepage after login
This commit is contained in:
parent
cc8f553d66
commit
3b1a97c08a
2 changed files with 2 additions and 2 deletions
|
@ -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']);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue