forked from extern/egroupware
- fixed problem reported by JOYDEEP on the user-list: disabled accounts can still login under the ldap account backend
This commit is contained in:
parent
48289a5fdd
commit
ff26c43642
@ -75,7 +75,7 @@
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if ($GLOBALS['egw_info']['server']['account_repository'] == 'ldap' &&
|
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
|
return false; // account is expired
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user