- fixed problem reported by JOYDEEP on the user-list: disabled accounts can still login under the ldap account backend

This commit is contained in:
Ralf Becker 2007-06-20 07:43:09 +00:00
parent 48289a5fdd
commit ff26c43642

View File

@ -75,7 +75,7 @@
return false;
}
if ($GLOBALS['egw_info']['server']['account_repository'] == 'ldap' &&
isset($allValues[0]['shawdowexpire']) && $allValues[0]['shawdowexpire'][0]*24*3600 < time())
isset($allValues[0]['shadowexpire']) && $allValues[0]['shadowexpire'][0]*24*3600 < time())
{
return false; // account is expired
}