mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
#1130 CAS authentication security leak when cas_memberof is left empty
SVN:2.1.0[3684]
This commit is contained in:
@@ -1303,8 +1303,9 @@ class CAS_SelfRegister implements iSelfRegister
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// No membership required, anybody will pass
|
// No membership: no way to create the user that should exist prior to authentication
|
||||||
$bFound = true;
|
phpCAS::log("User ".phpCAS::getUser().": missing user account in iTop (or iTop badly configured, Cf setting cas_memberof)");
|
||||||
|
$bFound = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$bFound)
|
if (!$bFound)
|
||||||
|
|||||||
Reference in New Issue
Block a user