summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-09 14:31:23 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-09 14:31:23 +0200
commit7aeeb6833d72ce63d699d693a8d18b9a85d0c69f (patch)
tree562cdfd1255bf538093581a9357076232880cfce /util
parent:bug: fix array key in config (diff)
parentMerge pull request #429 from fosscord/dev (diff)
downloadserver-7aeeb6833d72ce63d699d693a8d18b9a85d0c69f.tar.xz
Merge branch 'master' of http://github.com/fosscord/fosscord-server
Diffstat (limited to 'util')
-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,