mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
"- 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
1697a56468
commit
23c2f997fc
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user