#1130 CAS authentication security leak when cas_memberof is left empty

SVN:2.1.0[3684]
This commit is contained in:
Romain Quetiez
2015-08-18 13:42:47 +00:00
parent 96c8ee5e4d
commit 9f1338ee2a

View File

@@ -1303,8 +1303,9 @@ class CAS_SelfRegister implements iSelfRegister
}
else
{
// No membership required, anybody will pass
$bFound = true;
// No membership: no way to create the user that should exist prior to authentication
phpCAS::log("User ".phpCAS::getUser().": missing user account in iTop (or iTop badly configured, Cf setting cas_memberof)");
$bFound = false;
}
if (!$bFound)