TOTP ignoredTypes fix

This commit is contained in:
varjolintu 2020-10-22 13:27:09 +03:00
parent c5e6471a08
commit 9247034faa

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;