From ff26c43642ec7f368ad66295c4fcf707cd6f1c29 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 20 Jun 2007 07:43:09 +0000 Subject: [PATCH] - fixed problem reported by JOYDEEP on the user-list: disabled accounts can still login under the ldap account backend --- phpgwapi/inc/class.auth_ldap.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.auth_ldap.inc.php b/phpgwapi/inc/class.auth_ldap.inc.php index 0dfdbba7dd..5e3818e16c 100644 --- a/phpgwapi/inc/class.auth_ldap.inc.php +++ b/phpgwapi/inc/class.auth_ldap.inc.php @@ -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 }