use reference field names on clipperz importer
This commit is contained in:
parent
6496f750b0
commit
c684d66ec0
|
@ -1673,13 +1673,10 @@
|
||||||
break;
|
break;
|
||||||
case 'none':
|
case 'none':
|
||||||
default:
|
default:
|
||||||
var normalizedLabel = field.label.toLowerCase();
|
if (!site.username && isField(field.label, _usernameFieldNames)) {
|
||||||
if (!site.username &&
|
|
||||||
(normalizedLabel === 'email' || normalizedLabel === 'username')) {
|
|
||||||
site.username = field.value;
|
site.username = field.value;
|
||||||
}
|
}
|
||||||
else if (!site.password &&
|
else if (!site.password && isField(field.label, _passwordFieldNames)) {
|
||||||
(normalizedLabel === 'password' || normalizedLabel === 'pw')) {
|
|
||||||
site.password = field.value;
|
site.password = field.value;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue