mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-06 00:48:08 +02:00
parse otp for keepass import (#133)
This commit is contained in:
parent
b599c2e74f
commit
7771b2293d
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user