Rename GetCaptcha to VerificationGetCaptcha
This commit is contained in:
parent
38b96db83a
commit
8e1f6351e2
2 changed files with 4 additions and 5 deletions
|
@ -17,7 +17,7 @@ use Socialbox\Objects\ClientRequest;
|
|||
use Socialbox\Objects\RpcRequest;
|
||||
use Socialbox\Objects\Standard\ImageCaptcha;
|
||||
|
||||
class GetCaptcha extends Method
|
||||
class VerificationGetCaptcha extends Method
|
||||
{
|
||||
/**
|
||||
* @inheritDoc
|
||||
|
@ -74,7 +74,6 @@ class GetCaptcha extends Method
|
|||
}
|
||||
|
||||
// Build the captcha
|
||||
Logger::getLogger()->debug('Building captcha for peer ' . $peer->getUuid());
|
||||
return $rpcRequest->produceResponse(new ImageCaptcha([
|
||||
'expires' => $captchaRecord->getExpires()->getTimestamp(),
|
||||
'image' => (new CaptchaBuilder($answer))->build()->inline()] // Returns HTML base64 encoded image of the captcha
|
Loading…
Add table
Add a link
Reference in a new issue