aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorPoslovitch <poslovitch@bentobox.world>2021-04-24 09:57:01 +0000
committerChocobozzz <me@florianbigard.com>2021-05-28 13:56:05 +0200
commit1f256e7d3cf056c2d999260155cdba58ae1b878b (patch)
treee33db698da50c329e1eea4122e190e6ef247d8e4 /config
parentf22e0e2c19b06edfc85429198f9e54a075f71ad3 (diff)
downloadPeerTube-1f256e7d3cf056c2d999260155cdba58ae1b878b.tar.gz
PeerTube-1f256e7d3cf056c2d999260155cdba58ae1b878b.tar.zst
PeerTube-1f256e7d3cf056c2d999260155cdba58ae1b878b.zip
Implemented configurable minimum signup age
Implements https://github.com/Chocobozzz/PeerTube/issues/3612 Fixed lint and removed debug Fixed another lint error Apply suggestions from code review Co-authored-by: Chocobozzz <chocobozzz@cpy.re> Add tests for min signup age config
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml1
-rw-r--r--config/production.yaml.example1
2 files changed, 2 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 9b90bacfc..2a281f6c3 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -229,6 +229,7 @@ contact_form:
229signup: 229signup:
230 enabled: false 230 enabled: false
231 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited 231 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
232 minimum_age: 16 # Used to configure the signup form
232 requires_email_verification: false 233 requires_email_verification: false
233 filters: 234 filters:
234 cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist 235 cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 47ef47279..42293b843 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -239,6 +239,7 @@ contact_form:
239signup: 239signup:
240 enabled: false 240 enabled: false
241 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited 241 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
242 mimimum_age: 16
242 requires_email_verification: false 243 requires_email_verification: false
243 filters: 244 filters:
244 cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist 245 cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist