diff options
Diffstat (limited to 'shared/server-commands')
-rw-r--r-- | shared/server-commands/server/config-command.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/server-commands/server/config-command.ts b/shared/server-commands/server/config-command.ts index 51267b85b..eb6bb95a5 100644 --- a/shared/server-commands/server/config-command.ts +++ b/shared/server-commands/server/config-command.ts | |||
@@ -31,13 +31,13 @@ export class ConfigCommand extends AbstractCommand { | |||
31 | 31 | ||
32 | // --------------------------------------------------------------------------- | 32 | // --------------------------------------------------------------------------- |
33 | 33 | ||
34 | enableSignup (requiresApproval: boolean) { | 34 | enableSignup (requiresApproval: boolean, limit = -1) { |
35 | return this.updateExistingSubConfig({ | 35 | return this.updateExistingSubConfig({ |
36 | newConfig: { | 36 | newConfig: { |
37 | signup: { | 37 | signup: { |
38 | enabled: true, | 38 | enabled: true, |
39 | requiresApproval, | 39 | requiresApproval, |
40 | limit: -1 | 40 | limit |
41 | } | 41 | } |
42 | } | 42 | } |
43 | }) | 43 | }) |