Fixed field name

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-13 15:25:37 +01:00
parent 24e58d1455
commit ab6b8f520e

View file

@ -251,7 +251,7 @@ class LdapSync extends Command
// Creating a new user.
$user = new User;
$user->password = $user->noPassword();
$item['locale'] = app()->getLocale();
$user->locale = app()->getLocale();
$user->activated = 1; // newly created users can log in by default, unless AD's UAC is in use, or an active flag is set (below)
$item['createorupdate'] = 'created';
}