From bddb0107d673ea32a3ae7f6089b6aca41b36602a Mon Sep 17 00:00:00 2001 From: Mike Lyttle Date: Wed, 31 Jul 2024 13:32:31 -0700 Subject: [PATCH] Update landing site redirect for email verification AB#16813 (#6281) --- Apps/Landing/src/ClientApp/src/router/beforeEachGuard.ts | 2 +- Apps/Landing/src/ClientApp/src/router/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Apps/Landing/src/ClientApp/src/router/beforeEachGuard.ts b/Apps/Landing/src/ClientApp/src/router/beforeEachGuard.ts index ae6aed122d..213a49e078 100644 --- a/Apps/Landing/src/ClientApp/src/router/beforeEachGuard.ts +++ b/Apps/Landing/src/ClientApp/src/router/beforeEachGuard.ts @@ -15,7 +15,7 @@ export const beforeEachGuard: NavigationGuard = async ( if (meta?.redirectPath && webClientConfig.betaUrl) { let url = webClientConfig.betaUrl + meta.redirectPath; if (to.params.inviteKey) { - url += "/" + to.params.inviteKey; + url += "?verificationKey=" + to.params.inviteKey; } window.location.assign(url); diff --git a/Apps/Landing/src/ClientApp/src/router/index.ts b/Apps/Landing/src/ClientApp/src/router/index.ts index ca5676fea2..151d87dadf 100644 --- a/Apps/Landing/src/ClientApp/src/router/index.ts +++ b/Apps/Landing/src/ClientApp/src/router/index.ts @@ -102,7 +102,7 @@ const routes = [ path: Path.ValidateEmail + "/:inviteKey", component: NotFoundView, meta: { - redirectPath: "s/validateEmail", + redirectPath: "s/ValidateEmail", }, }, {