diff options
| author | Marie <github@yuugi.dev> | 2024-11-02 11:02:13 +0000 |
|---|---|---|
| committer | Marie <github@yuugi.dev> | 2024-11-02 11:02:13 +0000 |
| commit | b8b077cbad85585c86354aeed3ca46cfab593c13 (patch) | |
| tree | ca08a5fea52a8277fce1c926f7ea9a1be89d195f /packages/backend/src/core | |
| parent | upd: add FriendlyCaptcha as a captcha solution (diff) | |
| download | sharkey-b8b077cbad85585c86354aeed3ca46cfab593c13.tar.gz sharkey-b8b077cbad85585c86354aeed3ca46cfab593c13.tar.bz2 sharkey-b8b077cbad85585c86354aeed3ca46cfab593c13.zip | |
chore: replace recaptcha with frc
Diffstat (limited to 'packages/backend/src/core')
| -rw-r--r-- | packages/backend/src/core/CaptchaService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<void> { 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', { |