From a0bcf3c78c45ec034b94a79e83c22266ff26da22 Mon Sep 17 00:00:00 2001 From: varjolintu Date: Thu, 10 May 2018 18:27:28 +0300 Subject: [PATCH] Remove automatic username field add --- keepassxc-browser/keepassxc-browser.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/keepassxc-browser/keepassxc-browser.js b/keepassxc-browser/keepassxc-browser.js index 87e6bf0..3abc4f0 100755 --- a/keepassxc-browser/keepassxc-browser.js +++ b/keepassxc-browser/keepassxc-browser.js @@ -894,15 +894,6 @@ cipFields.getAllCombinations = function(inputs) { } } - // If only username field found, add it to the array - if (fields.length === 0 && uField) { - const combination = { - username: uField[0].getAttribute('data-cip-id'), - password: null - }; - fields.push(combination); - } - return fields; };