Made message signing in Cryptography use SHA512 as the message content for... #1
1 changed files with 1 additions and 2 deletions
|
@ -27,10 +27,9 @@
|
|||
throw new MissingRpcArgumentException('answer');
|
||||
}
|
||||
|
||||
$session = $request->getSession();
|
||||
|
||||
try
|
||||
{
|
||||
$session = $request->getSession();
|
||||
if(CaptchaManager::getCaptcha($session->getPeerUuid())?->isExpired())
|
||||
{
|
||||
return $rpcRequest->produceError(StandardError::EXPIRED, 'The captcha has expired');
|
||||
|
|
Loading…
Add table
Reference in a new issue