mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #2700 from keepassxreboot/fix/dont_fill_username_to_password_field
Do not fill username to already filled password field
This commit is contained in:
commit
a9a30e7625
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ kpxcFill.fillInCredentials = async function(combination, predefinedUsername, uui
|
|||
}
|
||||
|
||||
// Fill username
|
||||
if (combination.username && usernameValue &&
|
||||
if (combination.username && usernameValue && combination.username !== combination.password &&
|
||||
(!combination.username.value || combination.username.value !== usernameValue)) {
|
||||
if (!passOnly) {
|
||||
kpxc.setValueWithChange(combination.username, usernameValue);
|
||||
|
|
|
|||
Loading…
Reference in a new issue