diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-07-25 20:17:28 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-07-25 20:17:28 +0200 |
commit | 291e8d3eed88fe714fb74ad897ac2c67347a85ff (patch) | |
tree | 20b4f9b8500ab4d9651d2a067fcf2948a6bfc9a4 /config | |
parent | 3d09cdbf90902894c841d0a5ddb35eb772c53b8b (diff) | |
download | PeerTube-291e8d3eed88fe714fb74ad897ac2c67347a85ff.tar.gz PeerTube-291e8d3eed88fe714fb74ad897ac2c67347a85ff.tar.zst PeerTube-291e8d3eed88fe714fb74ad897ac2c67347a85ff.zip |
Add ability to limit user registrations
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 1 | ||||
-rw-r--r-- | config/test-1.yaml | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index b4e7606cf..a97d3ff78 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -33,6 +33,7 @@ admin: | |||
33 | 33 | ||
34 | signup: | 34 | signup: |
35 | enabled: false | 35 | enabled: false |
36 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | ||
36 | 37 | ||
37 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag | 38 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag |
38 | # Uses a lot of CPU! | 39 | # Uses a lot of CPU! |
diff --git a/config/test-1.yaml b/config/test-1.yaml index e244a8797..d08a3bee6 100644 --- a/config/test-1.yaml +++ b/config/test-1.yaml | |||
@@ -20,3 +20,6 @@ storage: | |||
20 | 20 | ||
21 | admin: | 21 | admin: |
22 | email: 'admin1@example.com' | 22 | email: 'admin1@example.com' |
23 | |||
24 | signup: | ||
25 | limit: 4 | ||