Revision 51440
Added by Myrto Koukouli about 6 years ago
app.component.ts | ||
---|---|---|
15 | 15 |
constructor(private router: Router,private authService: AuthenticationService) { |
16 | 16 |
|
17 | 17 |
// URL of the SPA to redirect the user to after login |
18 |
this.authService.redirectUrl = "/home";
|
|
18 |
this.authService.redirectUrl = "/dashboard";
|
|
19 | 19 |
|
20 | 20 |
this.authService.tryLogin(); |
21 | 21 |
} |
Also available in: Unified diff
all api methods work!