Skip to content

Commit

Permalink
Update landing site redirect for email verification AB#16813 (#6281)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeLyttle authored Jul 31, 2024
1 parent 14aff0a commit bddb010
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Apps/Landing/src/ClientApp/src/router/beforeEachGuard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion Apps/Landing/src/ClientApp/src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const routes = [
path: Path.ValidateEmail + "/:inviteKey",
component: NotFoundView,
meta: {
redirectPath: "s/validateEmail",
redirectPath: "s/ValidateEmail",
},
},
{
Expand Down

0 comments on commit bddb010

Please sign in to comment.