1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

Add import of totp from Lastpass (#361)

* Add import of totp from Lastpass

* Fixed import as request during review
This commit is contained in:
Daniel James Smith
2021-04-28 22:50:37 +02:00
committed by GitHub
parent 5b7d918f29
commit e298ecfee3
2 changed files with 33 additions and 2 deletions

View File

@@ -49,6 +49,7 @@ export class LastPassCsvImporter extends BaseImporter implements Importer {
cipher.login.uris = this.makeUriArray(value.url);
cipher.login.username = this.getValueOrDefault(value.username);
cipher.login.password = this.getValueOrDefault(value.password);
cipher.login.totp = this.getValueOrDefault(value.totp);
} else if (cipher.type === CipherType.SecureNote) {
this.parseSecureNote(value, cipher);
} else if (cipher.type === CipherType.Card) {