Project

General

Profile

« Previous | Next » 

Revision 53222

fixed login issue

View differences:

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