mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-31 08:20:37 +01:00
use reference field names on clipperz importer
This commit is contained in:
parent
6496f750b0
commit
c684d66ec0
@ -1673,13 +1673,10 @@
|
||||
break;
|
||||
case 'none':
|
||||
default:
|
||||
var normalizedLabel = field.label.toLowerCase();
|
||||
if (!site.username &&
|
||||
(normalizedLabel === 'email' || normalizedLabel === 'username')) {
|
||||
if (!site.username && isField(field.label, _usernameFieldNames)) {
|
||||
site.username = field.value;
|
||||
}
|
||||
else if (!site.password &&
|
||||
(normalizedLabel === 'password' || normalizedLabel === 'pw')) {
|
||||
else if (!site.password && isField(field.label, _passwordFieldNames)) {
|
||||
site.password = field.value;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user