mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 15:58:48 +00:00
Add managed_account entry type and handle in code
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user