fix: friendlycaptcha always failing

This commit is contained in:
Marie 2025-04-15 20:13:16 +00:00
parent 4f64803ef2
commit 28ad2ae534

View file

@ -375,7 +375,7 @@ export class CaptchaService {
throw new CaptchaError(captchaErrorCodes.invalidParameters, 'frc-failed: secret and captureResult are required'); throw new CaptchaError(captchaErrorCodes.invalidParameters, 'frc-failed: secret and captureResult are required');
} }
await this.verifyFriendlyCaptcha(params.captchaResult, params.captchaResult); await this.verifyFriendlyCaptcha(params.secret, params.captchaResult);
await this.updateMeta(provider, params); await this.updateMeta(provider, params);
}, },
}[provider]; }[provider];