summary refs log tree commit diff
path: root/util/src/entities/Config.ts
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
commit9c2337486729fb23c2c4874cd70db909d2f2ab41 (patch)
tree3abe5ca7604b10291d844217ad6c0b96db208a1b /util/src/entities/Config.ts
parent:bug: fix channel permission overwrites (diff)
downloadserver-9c2337486729fb23c2c4874cd70db909d2f2ab41.tar.xz
fix #406
Diffstat (limited to 'util/src/entities/Config.ts')
-rw-r--r--util/src/entities/Config.ts2
1 files changed, 2 insertions, 0 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,