Merge pull request #821 from bwbroersma/fix/totp-zippostal-code-negative-check-too-strict

Fix TOTP negative check too strict for (zip|postal)code
This commit is contained in:
Sami Vänttinen 2020-03-26 20:00:54 +02:00 committed by GitHub
commit 90b061de86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
'use strict';
const MINIMUM_SIZE = 60;
const ignoreRegex = /^(zip|postal).*code$/i;
const ignoreRegex = /(zip|postal).*code/i;
const ignoredTypes = [ 'email', 'password', 'username' ];
var kpxcTOTPIcons = {};