From 6ad6296dccf685537c8a4c30c3c5ca16ee51575d Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 1 Oct 2021 20:08:45 +0200 Subject: [PATCH] fix #406 --- util/src/entities/Config.ts | 2 ++ util/src/util/Config.ts | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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) { if (!config || !val) return; config = val.merge(config); - console.log(config); return applyConfig(config); },