Fix password verification by passing the peer object instead of UUID
Some checks are pending
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions

This commit is contained in:
netkas 2025-03-28 13:53:56 -04:00
parent fd480ec4ef
commit bde2b48470
Signed by: netkas
GPG key ID: 4D8629441B76E4CC

View file

@ -36,7 +36,7 @@
return $rpcRequest->produceError(StandardError::METHOD_NOT_ALLOWED, 'Password verification is not required at this time');
}
$result = PasswordManager::verifyPassword($request->getPeer()->getUuid(), $rpcRequest->getParameter('password'));
$result = PasswordManager::verifyPassword($request->getPeer(), $rpcRequest->getParameter('password'));
if($result)
{