1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-28 06:03:40 +00:00

[PM-4163] Fix protonpass importer when totp field is not a URL (#6474)

* Fix protonpass importer when totp field is not a URL

* Simplify ProtonPass importer totp handling

* Use getValueOrDefault for totp import in ProtonPass importer

* Use getValueOrDefault for other ProtonPass importer fields

---------

Co-authored-by: ttalty <144813356+ttalty@users.noreply.github.com>
This commit is contained in:
Bernd Schoolmann
2023-10-31 18:37:35 +01:00
committed by GitHub
parent 91e7a45ee4
commit 77ee09540e
2 changed files with 9 additions and 11 deletions

View File

@@ -159,7 +159,7 @@ export const testData: ProtonPassJsonFile = {
username: "other vault username",
password: "other vault password",
urls: [],
totpUri: "",
totpUri: "JBSWY3DPEHPK3PXP",
},
},
state: 1,