From 55cf8c05ad3034d53c7c70bd99d471e3d5d158d6 Mon Sep 17 00:00:00 2001 From: varjolintu Date: Mon, 22 Sep 2025 10:57:15 +0300 Subject: [PATCH] Do not fill username to already filled password field --- keepassxc-browser/content/fill.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);