Merge pull request #1465 from keepassxreboot/fix/totp_ignore

Add inputMode check for 2FA field detection
This commit is contained in:
Sami Vänttinen 2021-11-20 13:20:23 +02:00 committed by GitHub
commit aa0887e2a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,8 @@ kpxcTOTPIcons.isValid = function(field, forced) {
|| field.id.match(ignoreRegex)
|| field.name.match(ignoreRegex)
|| field.placeholder.match(ignoreRegex)
|| field.readOnly) {
|| field.readOnly
|| field.inputMode === 'email') {
return false;
}
} else {