mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-24 16:49:26 +01:00
import totp keys from 1password 1pif export
This commit is contained in:
parent
bf382889d3
commit
ae567ab462
@ -770,6 +770,9 @@
|
|||||||
else if (!login.password && field[designationKey] && field[designationKey] === 'password') {
|
else if (!login.password && field[designationKey] && field[designationKey] === 'password') {
|
||||||
login.password = field[valueKey];
|
login.password = field[valueKey];
|
||||||
}
|
}
|
||||||
|
else if (!login.totp && field[designationKey] && field[designationKey].startsWith("TOTP_")) {
|
||||||
|
login.totp = field[valueKey];
|
||||||
|
}
|
||||||
else if (field[nameKey] && field[valueKey]) {
|
else if (field[nameKey] && field[valueKey]) {
|
||||||
if (login.notes === null) {
|
if (login.notes === null) {
|
||||||
login.notes = '';
|
login.notes = '';
|
||||||
@ -803,6 +806,7 @@
|
|||||||
password: null,
|
password: null,
|
||||||
notes: null,
|
notes: null,
|
||||||
name: item.title && item.title !== '' ? item.title : '--',
|
name: item.title && item.title !== '' ? item.title : '--',
|
||||||
|
totp: null
|
||||||
};
|
};
|
||||||
|
|
||||||
if (item.secureContents) {
|
if (item.secureContents) {
|
||||||
|
Loading…
Reference in New Issue
Block a user