aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-05-22 19:43:13 +0200
committerRigel Kent <par@rigelk.eu>2018-05-22 19:44:34 +0200
commitff2c1fe8133f9556f6aaa52058cd8b83c40085e6 (patch)
treebc92cde25bf5a1d74b1413d7145179ef7abfd670 /config/default.yaml
parente2f1dad83607aa610ee33b234a81b07664f4304c (diff)
downloadPeerTube-ff2c1fe8133f9556f6aaa52058cd8b83c40085e6.tar.gz
PeerTube-ff2c1fe8133f9556f6aaa52058cd8b83c40085e6.tar.zst
PeerTube-ff2c1fe8133f9556f6aaa52058cd8b83c40085e6.zip
feature: IP filtering on signup page
disable registration form on IP not in range checking the CIDR list before filtering with it placing the cidr filters as an attribute object in the config
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 387acf43d..f43cbaf4b 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -60,6 +60,10 @@ admin:
60signup: 60signup:
61 enabled: false 61 enabled: false
62 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited 62 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
63 filters:
64 cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist
65 whitelist: []
66 blacklist: []
63 67
64user: 68user:
65 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). 69 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).