1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

parse otp for keepass import (#133)

This commit is contained in:
Kyle Spearrin
2020-07-20 15:00:33 -04:00
committed by GitHub
parent b599c2e74f
commit 7771b2293d

View File

@@ -68,6 +68,8 @@ export class KeePass2XmlImporter extends BaseImporter implements Importer {
cipher.login.username = value;
} else if (key === 'Password') {
cipher.login.password = value;
} else if (key === 'otp') {
cipher.login.totp = value.replace('key=', '');
} else if (key === 'Title') {
cipher.name = value;
} else if (key === 'Notes') {