From e364e31e25bd1d4b8d801c845a96d6be708f0a18 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 19 Jan 2023 09:27:16 +0100 Subject: Implement signup approval in server --- config/default.yaml | 6 ++++++ config/production.yaml.example | 6 ++++++ config/test.yaml | 1 + 3 files changed, 13 insertions(+) (limited to 'config') 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: signup: enabled: false + limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited + minimum_age: 16 # Used to configure the signup form + + # Users fill a form to register so moderators can accept/reject the registration + requires_approval: true requires_email_verification: false + filters: cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist 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: signup: enabled: false + limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited + minimum_age: 16 # Used to configure the signup form + + # Users fill a form to register so moderators can accept/reject the registration + requires_approval: true requires_email_verification: false + filters: cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist 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: signup: enabled: true + requires_approval: false requires_email_verification: false transcoding: -- cgit v1.2.3