From b8b077cbad85585c86354aeed3ca46cfab593c13 Mon Sep 17 00:00:00 2001 From: Marie Date: Sat, 2 Nov 2024 11:02:13 +0000 Subject: [PATCH] chore: replace recaptcha with frc --- packages/backend/src/core/CaptchaService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/CaptchaService.ts b/packages/backend/src/core/CaptchaService.ts index 5a424890f2..4be45dabb8 100644 --- a/packages/backend/src/core/CaptchaService.ts +++ b/packages/backend/src/core/CaptchaService.ts @@ -77,7 +77,7 @@ export class CaptchaService { @bindThis public async verifyFriendlyCaptcha(secret: string, response: string | null | undefined): Promise { if (response == null) { - throw new Error('recaptcha-failed: no response provided'); + throw new Error('frc-failed: no response provided'); } const result = await this.httpRequestService.send('https://api.friendlycaptcha.com/api/v1/siteverify', {