Fix login sponsorship redirect (#1620)
This commit is contained in:
parent
0444b78ad1
commit
97f38aa654
|
@ -83,7 +83,7 @@ export class LoginComponent extends BaseLoginComponent {
|
||||||
// Are they coming from an email for sponsoring a families organization
|
// Are they coming from an email for sponsoring a families organization
|
||||||
if (qParams.sponsorshipToken != null) {
|
if (qParams.sponsorshipToken != null) {
|
||||||
const route = this.router.createUrlTree(["setup/families-for-enterprise"], {
|
const route = this.router.createUrlTree(["setup/families-for-enterprise"], {
|
||||||
queryParams: { plan: qParams.sponsorshipToken },
|
queryParams: { token: qParams.sponsorshipToken },
|
||||||
});
|
});
|
||||||
this.routerService.setPreviousUrl(route.toString());
|
this.routerService.setPreviousUrl(route.toString());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue