diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 6 | ||||
-rw-r--r-- | config/production.yaml.example | 6 | ||||
-rw-r--r-- | config/test.yaml | 1 |
3 files changed, 13 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index b2c418a0a..37059e9e0 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -382,9 +382,15 @@ contact_form: | |||
382 | 382 | ||
383 | signup: | 383 | signup: |
384 | enabled: false | 384 | enabled: false |
385 | |||
385 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | 386 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited |
387 | |||
386 | minimum_age: 16 # Used to configure the signup form | 388 | minimum_age: 16 # Used to configure the signup form |
389 | |||
390 | # Users fill a form to register so moderators can accept/reject the registration | ||
391 | requires_approval: true | ||
387 | requires_email_verification: false | 392 | requires_email_verification: false |
393 | |||
388 | filters: | 394 | filters: |
389 | cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist | 395 | cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist |
390 | whitelist: [] | 396 | whitelist: [] |
diff --git a/config/production.yaml.example b/config/production.yaml.example index 36fa70417..906fb7e1f 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -392,9 +392,15 @@ contact_form: | |||
392 | 392 | ||
393 | signup: | 393 | signup: |
394 | enabled: false | 394 | enabled: false |
395 | |||
395 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | 396 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited |
397 | |||
396 | minimum_age: 16 # Used to configure the signup form | 398 | minimum_age: 16 # Used to configure the signup form |
399 | |||
400 | # Users fill a form to register so moderators can accept/reject the registration | ||
401 | requires_approval: true | ||
397 | requires_email_verification: false | 402 | requires_email_verification: false |
403 | |||
398 | filters: | 404 | filters: |
399 | cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist | 405 | cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist |
400 | whitelist: [] | 406 | whitelist: [] |
diff --git a/config/test.yaml b/config/test.yaml index 878d68cb9..94d74ffa5 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -74,6 +74,7 @@ cache: | |||
74 | 74 | ||
75 | signup: | 75 | signup: |
76 | enabled: true | 76 | enabled: true |
77 | requires_approval: false | ||
77 | requires_email_verification: false | 78 | requires_email_verification: false |
78 | 79 | ||
79 | transcoding: | 80 | transcoding: |