summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-06-27 11:24:31 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-06-27 11:24:31 +0200
commitc0032bf413cede1107ceb3f316fd488b681c30ac (patch)
treedc71e2bd5871b8148aeb62606b34c6ad9d8ccadf /src
parent:sparkles: allow bot tokens (diff)
downloadserver-ts-c0032bf413cede1107ceb3f316fd488b681c30ac.tar.xz
:sparkles: Config: ipdataApiKey + register.blockProxies
Diffstat (limited to 'src')
-rw-r--r--src/util/Config.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/Config.ts b/src/util/Config.ts

index f125bd18..30d216a4 100644 --- a/src/util/Config.ts +++ b/src/util/Config.ts
@@ -88,6 +88,7 @@ export interface DefaultOptions { sitekey: string | null; secret: string | null; }; + ipdataApiKey: string | null; }; login: { requireCaptcha: boolean; @@ -107,6 +108,7 @@ export interface DefaultOptions { requireInvite: boolean; allowNewRegistration: boolean; allowMultipleAccounts: boolean; + blockProxies: boolean; password: { minLength: number; minNumbers: number; @@ -176,6 +178,7 @@ export const DefaultOptions: DefaultOptions = { sitekey: null, secret: null, }, + ipdataApiKey: "eca677b284b3bac29eb72f5e496aa9047f26543605efe99ff2ce35c9", }, login: { requireCaptcha: false, @@ -196,6 +199,7 @@ export const DefaultOptions: DefaultOptions = { requireCaptcha: true, allowNewRegistration: true, allowMultipleAccounts: true, + blockProxies: true, password: { minLength: 8, minNumbers: 2,