N°4784 - CAS authentication issue with iTop 3.0

* Moved session closing after the login
This commit is contained in:
Eric Espie
2022-02-14 09:31:52 +01:00
parent cb5554ddb1
commit 1728dcc40c
2 changed files with 1 additions and 1 deletions

View File

@@ -483,6 +483,7 @@ class LoginWebPage extends NiceWebPage
$iResponse = $oLoginFSMExtensionInstance->LoginAction($sLoginState, $iErrorCode);
if ($iResponse == self::LOGIN_FSM_RETURN)
{
Session::WriteClose();
return $iErrorCode; // Asked to exit FSM, generally login OK
}
if ($iResponse == self::LOGIN_FSM_ERROR)