Merge pull request #1040 from keepassxreboot/fix/totp_field_fixes

TOTP ignoredTypes fix
This commit is contained in:
Sami Vänttinen 2020-11-01 07:42:27 +02:00 committed by GitHub
commit 32be7daa37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
'use strict';
const ignoreRegex = /(zip|postal).*code/i;
const ignoreRegex = /(act|bank|coupon|postal|user|zip).*code|comment|author/i;
const ignoredTypes = [ 'email', 'password', 'username' ];
const MIN_INPUT_LENGTH = 6;
const MAX_INPUT_LENGTH = 10;