1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-30 08:10:34 +01:00

dashlane importer fix for 6 cols

This commit is contained in:
Kyle Spearrin 2017-05-10 11:37:27 -04:00
parent 5cc8439f5b
commit 08c28950f4

View File

@ -1437,15 +1437,16 @@
else if (row.length === 6) { else if (row.length === 6) {
if (row[2] === '') { if (row[2] === '') {
login.username = row[3]; login.username = row[3];
login.password = row[4];
login.notes = row[5]; login.notes = row[5];
} }
else { else {
login.username = row[2]; login.username = row[2];
login.notes = row[3] + '\n' + row[5]; login.password = row[3];
login.notes = row[4] + '\n' + row[5];
} }
login.uri = fixUri(row[1]); login.uri = fixUri(row[1]);
login.password = row[4];
} }
else if (row.length === 7) { else if (row.length === 7) {
if (row[2] === '') { if (row[2] === '') {