1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00

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

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());
}