Combine obfuscated date and time to avoid leak
This commit is contained in:
parent
a2d572baf4
commit
9b2d61831b
|
@ -124,6 +124,12 @@ def obfuscate_list(user, data):
|
|||
second_part[index_x] = "*" * x_len
|
||||
result = sep.join([*first_part, *second_part])
|
||||
data[index][key] = result
|
||||
for key in settings.COMBINE_FIELDS:
|
||||
for index, item in enumerate(data):
|
||||
if key in item:
|
||||
k1, k2 = settings.COMBINE_FIELDS[key]
|
||||
if k1 in item and k2 in item:
|
||||
data[index][key] = item[k1] + item[k2]
|
||||
|
||||
|
||||
def hash_list(user, data, hash_keys=False):
|
||||
|
|
Loading…
Reference in New Issue