mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +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
dc472cdb11
commit
3dc11e4037
@ -80,7 +80,10 @@ class admin_account
|
||||
'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();
|
||||
|
||||
if ($deny_edit)
|
||||
|
Loading…
Reference in New Issue
Block a user