fix safer_obj not set
This commit is contained in:
parent
be674aa74f
commit
6cb7783bed
1 changed files with 1 additions and 1 deletions
|
@ -653,9 +653,9 @@ class NextcloudHandler:
|
||||||
post_obj['username'] = ''
|
post_obj['username'] = ''
|
||||||
if not 'url' in post_obj:
|
if not 'url' in post_obj:
|
||||||
post_obj['url'] = ''
|
post_obj['url'] = ''
|
||||||
|
safer_obj = dict(post_obj, **{ 'password': '***' })
|
||||||
if not self.exists_password(post_obj):
|
if not self.exists_password(post_obj):
|
||||||
try:
|
try:
|
||||||
safer_obj = dict(post_obj, **{ 'password': '***' })
|
|
||||||
self.debug(
|
self.debug(
|
||||||
{ "action": "create_password", "object": safer_obj }
|
{ "action": "create_password", "object": safer_obj }
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue