Merge pull request #1974 from keepassxreboot/fix/fill_combination_with_autocomplete_menu_disabled

Fill whole combination when Autocomplete Menu is disabled
This commit is contained in:
Sami Vänttinen 2023-09-07 13:56:39 +03:00 committed by GitHub
commit af751a01cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ kpxcFill.fillInFromActiveElement = async function(passOnly = false) {
return;
}
if (kpxc.combinations.length > 0 && kpxc.settings.autoCompleteUsernames) {
if (kpxc.combinations.length > 0) {
if (await kpxcFill.fillFromCombination(passOnly)) {
// Combination found and filled
return;
@ -64,7 +64,7 @@ kpxcFill.fillFromCombination = async function(passOnly) {
// Set focus to the input field
field.focus();
if (kpxc.credentials.length > 1) {
if (kpxc.credentials.length > 1 && kpxc.settings.autoCompleteUsernames) {
// More than one credential -> show autocomplete list
kpxcUserAutocomplete.showList(field);
} else {