Refactor session flag handling in image captcha verification
This commit is contained in:
parent
ecdd9e1228
commit
066e26fbe1
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue