Refactor session flag handling in image captcha verification

This commit is contained in:
netkas 2025-01-06 04:49:38 -05:00
parent ecdd9e1228
commit 066e26fbe1

View file

@ -46,8 +46,7 @@
if($result) if($result)
{ {
SessionManager::removeFlags($request->getSessionUuid(), [SessionFlags::VER_IMAGE_CAPTCHA]); SessionManager::updateFlow($session, [SessionFlags::VER_IMAGE_CAPTCHA]);
SessionManager::updateFlow($session);
} }
} }
catch (DatabaseOperationException $e) catch (DatabaseOperationException $e)