Fix password verification flow update on failed attempts

This commit is contained in:
netkas 2025-01-07 14:16:29 -05:00
parent d99ded7281
commit cabf1f35a8

View file

@ -42,8 +42,12 @@
try
{
$result = PasswordManager::verifyPassword($request->getPeer()->getUuid(), $rpcRequest->getParameter('password'));
if($result)
{
SessionManager::updateFlow($request->getSession(), [SessionFlags::VER_PASSWORD]);
}
}
catch (CryptographyException)
{
return $rpcRequest->produceResponse(false);