Move constants to one file

This commit is contained in:
varjolintu 2020-12-13 21:25:28 +02:00
parent b68453fa89
commit 7a9672a3c7
2 changed files with 2 additions and 2 deletions

View file

@ -2,8 +2,6 @@
const ignoreRegex = /(bank|coupon|postal|user|zip).*code|comment|author/i;
const ignoredTypes = [ 'email', 'password', 'username' ];
const MIN_TOTP_INPUT_LENGTH = 6;
const MAX_TOTP_INPUT_LENGTH = 10;
const acceptedOTPFields = [
'2fa',

View file

@ -1,6 +1,8 @@
'use strict';
const MINIMUM_INPUT_FIELD_WIDTH = 60;
const MIN_TOTP_INPUT_LENGTH = 6;
const MAX_TOTP_INPUT_LENGTH = 10;
const DatabaseState = {
DISCONNECTED: 0,