Merge pull request #14559 from Godmartinz/ldap_location_bug

Fixed  ldap location syncing incorrect locations for users.
This commit is contained in:
snipe 2024-04-08 04:59:27 +01:00 committed by GitHub
commit 3bed04a6d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -390,7 +390,7 @@ class LdapSync extends Command
$user->location_id = $location->id;
}
}
$location = null;
$user->ldap_import = 1;
$errors = '';