From 291e8d3eed88fe714fb74ad897ac2c67347a85ff Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 25 Jul 2017 20:17:28 +0200 Subject: Add ability to limit user registrations --- config/default.yaml | 1 + config/test-1.yaml | 3 +++ 2 files changed, 4 insertions(+) (limited to 'config') 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: signup: enabled: false + limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag # 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: admin: email: 'admin1@example.com' + +signup: + limit: 4 -- cgit v1.2.3