mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
support otp from safe in cloud import
This commit is contained in:
@@ -71,6 +71,8 @@ export class SafeInCloudXmlImporter extends BaseImporter implements Importer {
|
|||||||
cipher.login.username = text;
|
cipher.login.username = text;
|
||||||
} else if (fieldType === 'password') {
|
} else if (fieldType === 'password') {
|
||||||
cipher.login.password = text;
|
cipher.login.password = text;
|
||||||
|
} else if (fieldType === 'one_time_password') {
|
||||||
|
cipher.login.totp = text;
|
||||||
} else if (fieldType === 'notes') {
|
} else if (fieldType === 'notes') {
|
||||||
cipher.notes += (text + '\n');
|
cipher.notes += (text + '\n');
|
||||||
} else if (fieldType === 'weblogin' || fieldType === 'website') {
|
} else if (fieldType === 'weblogin' || fieldType === 'website') {
|
||||||
|
|||||||
Reference in New Issue
Block a user