Revived API POST /captcha/{captcha_uuid}.
Receiving captcha information for validation.
This commit is contained in:
@@ -41,4 +41,9 @@ final readonly class CaptchaTokenRepository
|
||||
{
|
||||
return CaptchaToken::query()->where('public_token', '=', $token)->first();
|
||||
}
|
||||
|
||||
public function getCaptchaTokenByPrivateToken(string $token): ?CaptchaToken
|
||||
{
|
||||
return CaptchaToken::query()->where('private_token', '=', $token)->first();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user