Fix TOTP negative check too strict for (zip|postal)code

Fix #820.
This commit is contained in:
Benjamin W. Broersma 2020-03-23 17:22:38 +01:00 committed by GitHub
parent 2798380de0
commit b5e436e676
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 = {};