fix safer obj
This commit is contained in:
parent
d080342c78
commit
1712cd6496
1 changed files with 2 additions and 2 deletions
|
@ -772,9 +772,9 @@ class NextcloudHandler:
|
|||
|
||||
def is_same_password(self, obj1, obj2):
|
||||
'''Test if two password objects are the same or similar'''
|
||||
if obj1 == obj2:
|
||||
safer_obj1 = dict(obj1, **{ 'password': '***' })
|
||||
safer_obj2 = dict(obj2, **{ 'password': '***' })
|
||||
if obj1 == obj2:
|
||||
self.debug(
|
||||
{"action": "notify_exact_match", "object": { "obj1": safer_obj1, "obj2": safer_obj2 } }
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue