chore: replace recaptcha with frc

This commit is contained in:
Marie 2024-11-02 11:02:13 +00:00
parent d786e96c2b
commit b8b077cbad
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ export class CaptchaService {
@bindThis @bindThis
public async verifyFriendlyCaptcha(secret: string, response: string | null | undefined): Promise<void> { public async verifyFriendlyCaptcha(secret: string, response: string | null | undefined): Promise<void> {
if (response == null) { 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', { const result = await this.httpRequestService.send('https://api.friendlycaptcha.com/api/v1/siteverify', {