Skip to content

Commit 6ab4b71

Browse files
author
Steve Hobbs
authored
Merge pull request #189 from cwmrowe/patch-1
Fix broken redirects
2 parents 8d2d1ba + abfce98 commit 6ab4b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

01-Login/src/app/auth/auth.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class AuthService {
108108
// Response will be an array of user and login status
109109
authComplete$.subscribe(([user, loggedIn]) => {
110110
// Redirect to target route after callback processing
111-
this.router.navigate([targetRoute]);
111+
this.router.navigateByUrl(targetRoute);
112112
});
113113
}
114114
}

0 commit comments

Comments
 (0)