Ignore hidden inputs with segmented TOTP fields

This commit is contained in:
varjolintu 2022-08-04 08:59:36 +03:00
parent e3715a818b
commit 9e59c11b72

View file

@ -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,