1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-25 03:33:33 +01:00
This commit is contained in:
Flam3rboy 2021-10-01 20:08:45 +02:00
parent 81923a0729
commit 6ad6296dcc
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -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);
},