1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-02 08:40:08 +01:00

dont import trashed items into 1password. (#64)

resolves #451
This commit is contained in:
Kyle Spearrin 2020-02-05 00:35:30 -05:00 committed by GitHub
parent bb459ce4b4
commit 1859357ddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,9 @@ export class OnePassword1PifImporter extends BaseImporter implements Importer {
return;
}
const item = JSON.parse(line);
if(item.trashed === true) {
return;
}
const cipher = this.initLoginCipher();
if (this.isNullOrWhitespace(item.hmac)) {