Revived API /api/v1/captcha.
Now a new captcha is created to check for a bot.
This commit is contained in:
22 files changed
+525
-101
No files matched your search
@@ -36,4 +36,9 @@ final readonly class CaptchaTokenRepository
|
||||
|
||||
return $this->createSearchInstanceCommand->execute($query);
|
||||
}
|
||||
|
||||
public function getCaptchaTokenByPublicToken(string $token): ?CaptchaToken
|
||||
{
|
||||
return CaptchaToken::query()->where('public_token', '=', $token)->first();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user