support otp from safe in cloud import

This commit is contained in:
Kyle Spearrin 2019-07-22 14:15:03 -04:00
parent a3c9c7d41e
commit f406a01900
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ export class SafeInCloudXmlImporter extends BaseImporter implements Importer {
cipher.login.username = text;
} else if (fieldType === 'password') {
cipher.login.password = text;
} else if (fieldType === 'one_time_password') {
cipher.login.totp = text;
} else if (fieldType === 'notes') {
cipher.notes += (text + '\n');
} else if (fieldType === 'weblogin' || fieldType === 'website') {