Don't secretly set displayName

This commit is contained in:
Brian Lycett 2022-03-11 10:59:21 +00:00
parent 5a96630845
commit d7a2ad5d02

View File

@ -784,7 +784,7 @@ function ldap_new_account($ldap_connection,$account_r) {
}
}
if (empty($account_attributes['displayname'])) { $account_attributes['displayname'] = $account_attributes['givenname'] . " " . $account_attributes['sn']; }
if (empty($account_attributes['loginshell'])) { $account_attributes['loginshell'] = $DEFAULT_USER_SHELL; }
if (empty($account_attributes['homedirectory'])) { $account_attributes['homedirectory'] = "/home/${account_identifier}"; }