mirror of
https://codeberg.org/yeentown/barkey
synced 2024-12-22 15:20:00 +00:00
chore: replace recaptcha with frc
This commit is contained in:
parent
d786e96c2b
commit
b8b077cbad
1 changed files with 1 additions and 1 deletions
|
@ -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', {
|
||||
|
|
Loading…
Reference in a new issue