Fix login sponsorship redirect (#1620)

This commit is contained in:
Matt Gibson 2022-04-27 09:09:38 -04:00 committed by GitHub
parent 0444b78ad1
commit 97f38aa654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ export class LoginComponent extends BaseLoginComponent {
// Are they coming from an email for sponsoring a families organization
if (qParams.sponsorshipToken != null) {
const route = this.router.createUrlTree(["setup/families-for-enterprise"], {
queryParams: { plan: qParams.sponsorshipToken },
queryParams: { token: qParams.sponsorshipToken },
});
this.routerService.setPreviousUrl(route.toString());
}