Fixed #6883 - remove escaping of fields on LDAP import

This commit is contained in:
snipe 2019-05-15 19:15:41 -07:00
parent 33b59d7bed
commit 6728089106

View file

@ -180,10 +180,10 @@ class LdapSync extends Command
$item["createorupdate"] = 'created'; $item["createorupdate"] = 'created';
} }
$user->first_name = e($item["firstname"]); $user->first_name = $item["firstname"];
$user->last_name = e($item["lastname"]); $user->last_name = $item["lastname"];
$user->username = e($item["username"]); $user->username = $item["username"];
$user->email = e($item["email"]); $user->email = $item["email"];
$user->employee_num = e($item["employee_number"]); $user->employee_num = e($item["employee_number"]);
// Sync activated state for Active Directory. // Sync activated state for Active Directory.