Merge pull request #6291 from jumpserver/dev

v2.11.0. rc5
pull/6298/head
Jiangjie.Bai 2021-06-17 11:49:04 +08:00 committed by GitHub
commit 64f772e747
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ class LDAPImportUtil(object):
try:
obj, created = self.update_or_create(user)
if created:
instances.append(user)
instances.append(obj)
except Exception as e:
errors.append({user['username']: str(e)})
logger.error(e)