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-09 12:54:03 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-09 12:54:03 +0200
commitd1844b65d147022d1c848d368f893af3c5603f77 (patch)
treefd8b2b33b4290f143149e8766b020f27d69db4fe /util/src/entities/Config.ts
parent:bug: fix password changing (diff)
downloadserver-d1844b65d147022d1c848d368f893af3c5603f77.tar.xz
:sparkles: added guestsRequireInvite to config
Diffstat (limited to '')
-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 921a12c2..813649ac 100644
--- a/util/src/entities/Config.ts
+++ b/util/src/entities/Config.ts
@@ -128,6 +128,7 @@ export interface ConfigValue {
 		disabled: boolean;
 		requireCaptcha: boolean;
 		requireInvite: boolean;
+		guestsRequireInvite: boolean;
 		allowNewRegistration: boolean;
 		allowMultipleAccounts: boolean;
 		blockProxies: boolean;
@@ -277,6 +278,7 @@ export const DefaultConfigOptions: ConfigValue = {
 		},
 		disabled: false,
 		requireInvite: false,
+		guestsRequireInvite: true,
 		requireCaptcha: true,
 		allowNewRegistration: true,
 		allowMultipleAccounts: true,