diff options
author | Sami Vänttinen <sami.vanttinen@protonmail.com> | 2022-08-04 21:38:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 21:38:18 +0300 |
commit | 279b1ec863805bb040a61fc7ad0346463fa07cae (patch) | |
tree | f3e61a93a8c59ca34a0fdd8e4cd7b4eb49e99b88 | |
parent | e3715a818b139ff9af94a126250558c2a5f26e3b (diff) | |
parent | 9e59c11b72828854302f3ddbe96d0cdf1cd03f83 (diff) |
Merge pull request #1693 from keepassxreboot/fix/slack_segmented_totp
Ignore hidden inputs with segmented TOTP fields
-rw-r--r-- | keepassxc-browser/content/fields.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keepassxc-browser/content/fields.js b/keepassxc-browser/content/fields.js index 3b0c9e1..a2db5a5 100644 --- a/keepassxc-browser/content/fields.js +++ b/keepassxc-browser/content/fields.js @@ -93,7 +93,7 @@ kpxcFields.getSegmentedTOTPFields = function(inputs, combinations) { return; } const addTotpFieldsToCombination = function(inputFields) { - const totpInputs = Array.from(inputFields).filter(e => e.nodeName === 'INPUT' && e.type !== 'password'); + const totpInputs = Array.from(inputFields).filter(e => e.nodeName === 'INPUT' && e.type !== 'password' && e.type !== 'hidden'); if (totpInputs.length === 6) { const combination = { form: form, |