diff --git a/src/app/services/importService.js b/src/app/services/importService.js index 8eebf73de2..5d5752edfd 100644 --- a/src/app/services/importService.js +++ b/src/app/services/importService.js @@ -2983,8 +2983,8 @@ }; if (type === 'Web Logins' || type === 'Servers' || type === 'Email Accounts') { - cipher.login.uris = makeUriArray(value[4]), - cipher.login.username = value[2] && value[2] !== '' ? value[2] : null; + cipher.login.uris = makeUriArray(value[4]); + cipher.login.username = value[2] && value[2] !== '' ? value[2] : null; cipher.login.password = value[3] && value[3] !== '' ? value[3] : null; parseFieldsToNotes(5, value, cipher); } diff --git a/src/app/tools/toolsExportController.js b/src/app/tools/toolsExportController.js index 0b145f741b..5d6aa0bd3a 100644 --- a/src/app/tools/toolsExportController.js +++ b/src/app/tools/toolsExportController.js @@ -53,8 +53,9 @@ login_totp: null }; + var j; if (decCiphers[i].fields) { - for (var j = 0; j < decCiphers[i].fields.length; j++) { + for (j = 0; j < decCiphers[i].fields.length; j++) { if (!cipher.fields) { cipher.fields = ''; }