Improve User sync.
This commit is contained in:
parent
fe3450b886
commit
79d7dcc653
|
@ -269,7 +269,8 @@ class User(Hackers):
|
|||
if len(res) == 0:
|
||||
raise PhiUserDoesNotExist(self.dn)
|
||||
for k, v in res[0].items():
|
||||
self._entry[k] = v
|
||||
if not k == "dn":
|
||||
self._entry[k] = v
|
||||
|
||||
async def modify(self, key, value):
|
||||
async with self.client.connect(is_async=True) as conn:
|
||||
|
|
Loading…
Reference in New Issue
Block a user