mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
* AD/Login: fix login always reports "account is expired", if account-selection "group-members" is set for AD
This commit is contained in:
parent
c1fa751f5d
commit
a218faf73e
@ -1090,6 +1090,7 @@ class Ads
|
||||
}
|
||||
// for non-admins and account_selection "groupmembers" we have to filter by memberOf attribute
|
||||
if ($GLOBALS['egw_info']['user']['preferences']['common']['account_selection'] === 'groupmembers' &&
|
||||
isset($GLOBALS['egw_info']['user']['account_id']) && // only use groupmembers, if we have a user context (stalls login otherwise!)
|
||||
(!isset($GLOBALS['egw_info']['user']['apps']['admin'])))
|
||||
{
|
||||
$type_filter .= '(|';
|
||||
|
Loading…
Reference in New Issue
Block a user