summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-01 20:08:45 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-01 20:08:45 +0200
commit6ad6296dccf685537c8a4c30c3c5ca16ee51575d (patch)
tree62642f8521e2c91bc2abf8f462cc38ab2b4757e8 /util
parent:bug: fix channel permission overwrites (diff)
downloadserver-6ad6296dccf685537c8a4c30c3c5ca16ee51575d.tar.xz
fix #406
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/Config.ts2
-rw-r--r--util/src/util/Config.ts1
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);
 	},