mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 02:43:22 +01:00
fixed check for extra ldap attributes to take into account current account-repository, to not show them for migrated instances
This commit is contained in:
parent
bae6b3686f
commit
185133abe4
@ -80,7 +80,10 @@ class admin_account
|
|||||||
'loginshell' => $GLOBALS['egw_info']['server']['ldap_account_shell'],
|
'loginshell' => $GLOBALS['egw_info']['server']['ldap_account_shell'],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$account['ldap_extra_attributes'] = $GLOBALS['egw_info']['server']['ldap_extra_attributes'];
|
// should we show extra ldap attributes home-directory and login-shell
|
||||||
|
$account['ldap_extra_attributes'] = $GLOBALS['egw_info']['server']['ldap_extra_attributes'] &&
|
||||||
|
get_class($GLOBALS['egw']->accounts) === 'accounts_ldap';
|
||||||
|
|
||||||
$readonlys = array();
|
$readonlys = array();
|
||||||
|
|
||||||
if ($deny_edit)
|
if ($deny_edit)
|
||||||
|
Loading…
Reference in New Issue
Block a user