mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fix segmented TOTP with text type
This commit is contained in:
parent
238e081718
commit
0f2e586834
1 changed files with 1 additions and 0 deletions
|
|
@ -419,6 +419,7 @@ kpxcFields.getSegmentedTOTPFields = function(inputs, combinations) {
|
|||
// Use the form's elements
|
||||
addTotpFieldsToCombination(form.elements);
|
||||
} else if (inputs.length === 6 && inputs.every(i => (i.inputMode === 'numeric' && i.pattern.includes('0-9'))
|
||||
|| (i.type === 'text' && i.maxLength == 1)
|
||||
|| i.type === 'tel')) {
|
||||
// No form is found, but input fields are possibly segmented TOTP fields
|
||||
addTotpFieldsToCombination(inputs);
|
||||
|
|
|
|||
Loading…
Reference in a new issue