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