"- 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:40:59 +00:00
parent 1697a56468
commit 23c2f997fc

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
}