aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-01-19 09:27:16 +0100
committerChocobozzz <chocobozzz@cpy.re>2023-01-19 13:53:40 +0100
commite364e31e25bd1d4b8d801c845a96d6be708f0a18 (patch)
tree220785a42af361706eb8243960c5da9cddf4d2be /config
parentbc48e33b80f357767b98c1d310b04bdda24c6d46 (diff)
downloadPeerTube-e364e31e25bd1d4b8d801c845a96d6be708f0a18.tar.gz
PeerTube-e364e31e25bd1d4b8d801c845a96d6be708f0a18.tar.zst
PeerTube-e364e31e25bd1d4b8d801c845a96d6be708f0a18.zip
Implement signup approval in server
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml6
-rw-r--r--config/production.yaml.example6
-rw-r--r--config/test.yaml1
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
383signup: 383signup:
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
393signup: 393signup:
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
75signup: 75signup:
76 enabled: true 76 enabled: true
77 requires_approval: false
77 requires_email_verification: false 78 requires_email_verification: false
78 79
79transcoding: 80transcoding: