Merge pull request #144 from keepassxreboot/username_field_fix

Remove automatic username field add
This commit is contained in:
Janek Bevendorff 2018-05-10 17:49:01 +02:00 committed by GitHub
commit bc0fad38df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -894,15 +894,6 @@ cipFields.getAllCombinations = function(inputs) {
}
}
// If only username field found, add it to the array
if (fields.length === 0 && uField) {
const combination = {
username: uField[0].getAttribute('data-cip-id'),
password: null
};
fields.push(combination);
}
return fields;
};