Skip to content

Commit

Permalink
Merge pull request #189 from cwmrowe/patch-1
Browse files Browse the repository at this point in the history
Fix broken redirects
  • Loading branch information
Steve Hobbs authored Jun 26, 2020
2 parents 8d2d1ba + abfce98 commit 6ab4b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 01-Login/src/app/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class AuthService {
// Response will be an array of user and login status
authComplete$.subscribe(([user, loggedIn]) => {
// Redirect to target route after callback processing
this.router.navigate([targetRoute]);
this.router.navigateByUrl(targetRoute);
});
}
}
Expand Down

0 comments on commit 6ab4b71

Please sign in to comment.