auth0-blog / angular2-authentication-sample

This is a sample that shows how to add authentication to an Angular 2 (ng2) app
MIT License
966 stars 334 forks source link

route is calling twice #56

Open jackesdavid opened 8 years ago

jackesdavid commented 8 years ago

Hi friends, i think there is a issu in src/app/LoggedInOutlet.ts.

The redirect is calling twice . We need to remove the "return" statement.

We need just call super.

super.activate(instruction);

jackesdavid commented 8 years ago

before return super.activate(instruction);

after super.activate(instruction);