From 209c78960bf55255a3cd642a7012ec9747766d9f Mon Sep 17 00:00:00 2001 From: Victor Bojica Date: Fri, 14 Feb 2025 16:11:13 +0200 Subject: [PATCH] updated recover account link --- lib/build/recipe/webauthn/utils.js | 2 +- lib/ts/recipe/webauthn/utils.ts | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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