From 2ea88ef000b7d9fb8c959d516e7c67a9f87b2428 Mon Sep 17 00:00:00 2001 From: Konstantinos Kopanidis Date: Thu, 19 Dec 2024 14:22:47 +0200 Subject: [PATCH] fix(router): google recaptcha verification url is incorrect (#1263) --- .../router/src/security/handlers/captcha-validation/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/router/src/security/handlers/captcha-validation/index.ts b/modules/router/src/security/handlers/captcha-validation/index.ts index c6bb94e02..898cb4c7f 100644 --- a/modules/router/src/security/handlers/captcha-validation/index.ts +++ b/modules/router/src/security/handlers/captcha-validation/index.ts @@ -13,7 +13,7 @@ export class CaptchaValidator { } async recaptchaVerify(secret: string, token: string) { - const googleUrl = `https://www.google.com/siteverify?secret=${secret}&response=${token}`; + const googleUrl = `https://www.google.com/recaptcha/api/siteverify?secret=${secret}&response=${token}`; const response = await axios .post( googleUrl,