diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-01 20:08:45 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-01 20:08:45 +0200 |
commit | 9c2337486729fb23c2c4874cd70db909d2f2ab41 (patch) | |
tree | 3abe5ca7604b10291d844217ad6c0b96db208a1b /util | |
parent | :bug: fix channel permission overwrites (diff) | |
download | server-9c2337486729fb23c2c4874cd70db909d2f2ab41.tar.xz |
fix #406
Diffstat (limited to 'util')
-rw-r--r-- | util/src/entities/Config.ts | 2 | ||||
-rw-r--r-- | util/src/util/Config.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts index 6d9db470..bd3fc0df 100644 --- a/util/src/entities/Config.ts +++ b/util/src/entities/Config.ts @@ -125,6 +125,7 @@ export interface ConfigValue { required: boolean; minimum: number; // in years }; + disabled: boolean; requireCaptcha: boolean; requireInvite: boolean; allowNewRegistration: boolean; @@ -266,6 +267,7 @@ export const DefaultConfigOptions: ConfigValue = { required: false, minimum: 13, }, + disabled: true, requireInvite: false, requireCaptcha: true, allowNewRegistration: true, diff --git a/util/src/util/Config.ts b/util/src/util/Config.ts index 6a9e0e5a..255f425d 100644 --- a/util/src/util/Config.ts +++ b/util/src/util/Config.ts @@ -21,7 +21,6 @@ export const Config = { set: function set(val: Partial<ConfigValue>) { if (!config || !val) return; config = val.merge(config); - console.log(config); return applyConfig(config); }, |