mirror of
https://github.com/bitwarden/browser
synced 2025-12-24 04:04:24 +00:00
[PM-9318] Fix username on protonpass import (#9889)
* Fix username field used for ProtonPass import ProtonPass has changed their export format and userName is not itemEmail * Import additional field itemUsername --------- Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6b122ca123
commit
83a32cd179
@@ -49,11 +49,12 @@ export const testData: ProtonPassJsonFile = {
|
||||
],
|
||||
type: "login",
|
||||
content: {
|
||||
username: "Username",
|
||||
itemEmail: "Username",
|
||||
password: "Password",
|
||||
urls: ["https://example.com/", "https://example2.com/"],
|
||||
totpUri:
|
||||
"otpauth://totp/Test%20Login%20-%20Personal%20Vault:Username?issuer=Test%20Login%20-%20Personal%20Vault&secret=TOTPCODE&algorithm=SHA1&digits=6&period=30",
|
||||
itemUsername: "someOtherUsername",
|
||||
},
|
||||
},
|
||||
state: 1,
|
||||
@@ -156,10 +157,11 @@ export const testData: ProtonPassJsonFile = {
|
||||
extraFields: [],
|
||||
type: "login",
|
||||
content: {
|
||||
username: "other vault username",
|
||||
itemEmail: "other vault username",
|
||||
password: "other vault password",
|
||||
urls: [],
|
||||
totpUri: "JBSWY3DPEHPK3PXP",
|
||||
itemUsername: "",
|
||||
},
|
||||
},
|
||||
state: 1,
|
||||
|
||||
Reference in New Issue
Block a user