mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-11 08:15:24 +00:00
Fix handling of unset crypted attributes
This commit is contained in:
parent
c8cda426be
commit
a9497b16e8
@ -1801,7 +1801,7 @@ class CryptedAttributes(Attributes):
|
||||
nkv = {}
|
||||
for key in kv:
|
||||
nkv[key] = {'isset': False}
|
||||
if 'hashvalue' in kv[key]:
|
||||
if kv[key] and 'hashvalue' in kv[key]:
|
||||
targkey = 'hashvalue'
|
||||
else:
|
||||
targkey = 'cryptvalue'
|
||||
|
Loading…
x
Reference in New Issue
Block a user