mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 15:35:12 +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
|
@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', {
|
||||||
|
|
Loading…
Reference in a new issue