fix: 修改ldap导入

pull/6291/head
Bai 2021-06-17 11:46:46 +08:00 committed by Jiangjie.Bai
parent 1a30675a86
commit 67a897f9c3
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)