mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fix detecting new password input in form (#2878)
This commit is contained in:
parent
a087c8dae0
commit
b01af22fd1
1 changed files with 3 additions and 2 deletions
|
|
@ -104,8 +104,9 @@ kpxcFields.getExistingCombination = function(combination) {
|
|||
existingCombination.password ??= combination.password;
|
||||
if (existingCombination.passwordInputs?.length === 0) {
|
||||
existingCombination.passwordInputs = combination.passwordInputs;
|
||||
} else {
|
||||
existingCombination.passwordInputs.push(combination.password);
|
||||
} else if (combination?.password) {
|
||||
// If password field is found in the current combination, force assign it to the existing combination
|
||||
existingCombination.password = combination.password;
|
||||
}
|
||||
|
||||
// Remove username field from combination with certain sites (replaced by password input)
|
||||
|
|
|
|||
Loading…
Reference in a new issue