mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Move constants to one file
This commit is contained in:
parent
b68453fa89
commit
7a9672a3c7
2 changed files with 2 additions and 2 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue