diff --git a/lib/build/recipe/webauthn/utils.js b/lib/build/recipe/webauthn/utils.js index ac552d09f..52e4cc7ac 100644 --- a/lib/build/recipe/webauthn/utils.js +++ b/lib/build/recipe/webauthn/utils.js @@ -157,7 +157,7 @@ function getRecoverAccountLink(input) { }) .getAsStringDangerous() + input.appInfo.websiteBasePath.getAsStringDangerous() + - "/recover-account?token=" + + "/webauthn/recover?token=" + input.token + "&tenantId=" + input.tenantId diff --git a/lib/ts/recipe/webauthn/utils.ts b/lib/ts/recipe/webauthn/utils.ts index a644332d8..78503bd93 100644 --- a/lib/ts/recipe/webauthn/utils.ts +++ b/lib/ts/recipe/webauthn/utils.ts @@ -185,7 +185,7 @@ export function getRecoverAccountLink(input: { }) .getAsStringDangerous() + input.appInfo.websiteBasePath.getAsStringDangerous() + - "/recover-account?token=" + + "/webauthn/recover?token=" + input.token + "&tenantId=" + input.tenantId diff --git a/package.json b/package.json index 0e4bc1c15..77a24c271 100644 --- a/package.json +++ b/package.json @@ -189,4 +189,4 @@ "browser": { "fs": false } -} +} \ No newline at end of file