1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00: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

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)) {