mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #1755 from stefansundin/epicgames-totp
Update segmented TOTP detection to work with epicgames.com
This commit is contained in:
commit
2a6ef03846
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ kpxcFields.getSegmentedTOTPFields = function(inputs, combinations) {
|
|||
// Use the form's elements
|
||||
addTotpFieldsToCombination(form.elements, exceptionFound);
|
||||
} else if (inputs.length === DEFAULT_SEGMENTED_TOTP_FIELDS && inputs.every(i => (i.inputMode === 'numeric' && i.pattern.includes('0-9'))
|
||||
|| (i.type === 'text' && i.maxLength === 1)
|
||||
|| ((i.type === 'text' || i.type === 'number') && 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