diff --git a/keepassxc-browser/content/fill.js b/keepassxc-browser/content/fill.js index 73ddfa8..ddfdd1d 100644 --- a/keepassxc-browser/content/fill.js +++ b/keepassxc-browser/content/fill.js @@ -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);