mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Stop logged in users going to the login page
This commit is contained in:
parent
7f73b470af
commit
c84e0c5ee8
1 changed files with 4 additions and 0 deletions
|
@ -54,6 +54,10 @@ export class LoginComponent implements OnInit {
|
|||
this.router.navigate(["Wizard"]);
|
||||
}
|
||||
});
|
||||
|
||||
if(authService.loggedIn()) {
|
||||
this.router.navigate(["search"]);
|
||||
}
|
||||
}
|
||||
|
||||
public ngOnInit() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue