diff options
-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); }, |