Revert behavior change in \UserRights::FindUser v2

Was made in 2ab0fab0 by mistake, committed incorrectly in 2e426d37 (wooops)
This commit is contained in:
Pierre Goiffon
2021-11-04 17:28:06 +01:00
parent 2e426d373d
commit e16425ab8a

View File

@@ -1859,8 +1859,8 @@ class UserRights
{
self::$m_aCacheUsers = array('internal' => array(), 'external' => array());
}
if (!isset($sLogin, self::$m_aCacheUsers[$sAuthentication]))
if (!isset(self::$m_aCacheUsers[$sAuthentication][$sLogin]))
{
switch($sAuthentication)
{