Add managed_account entry type and handle in code

This commit is contained in:
thePR0M3TH3AN
2025-07-07 20:48:18 -04:00
parent bda4bfbf5a
commit 6335c8442e
4 changed files with 34 additions and 5 deletions

View File

@@ -1629,7 +1629,10 @@ class PasswordManager:
pause()
return
if entry_type == EntryType.KEY_VALUE.value:
if entry_type in (
EntryType.KEY_VALUE.value,
EntryType.MANAGED_ACCOUNT.value,
):
label = entry.get("label", "")
value = entry.get("value", "")
notes = entry.get("notes", "")
@@ -1904,7 +1907,10 @@ class PasswordManager:
digits=new_digits,
custom_fields=custom_fields,
)
elif entry_type == EntryType.KEY_VALUE.value:
elif entry_type in (
EntryType.KEY_VALUE.value,
EntryType.MANAGED_ACCOUNT.value,
):
label = entry.get("label", "")
value = entry.get("value", "")
blacklisted = entry.get("archived", False)