Revision 53222
Added by Myrto Koukouli over 5 years ago
auth-guard.service.ts | ||
---|---|---|
26 | 26 |
sessionStorage.setItem("state.location",state.url); |
27 | 27 |
|
28 | 28 |
// Navigate to the login page via the API |
29 |
window.location.href = this.loginUrl; |
|
30 |
//this.router.navigate(['/landing']);
|
|
29 |
// window.location.href = this.loginUrl;
|
|
30 |
this.router.navigate(['/landing']); |
|
31 | 31 |
|
32 | 32 |
return false; |
33 | 33 |
} |
Also available in: Unified diff
fixed login issue