[feature] make account sign-up / backlog limits configurable (#3768)

This commit is contained in:
tobi
2025-02-10 15:46:36 +01:00
committed by GitHub
parent ce7ba8f498
commit 787bdc1488
9 changed files with 151 additions and 36 deletions

View File

@@ -20,6 +20,28 @@ accounts-registration-open: false
# Default: true
accounts-reason-required: true
# Int. Number of approved sign-ups allowed within
# 24hrs before new account registration is closed.
#
# Leaving this count at the default essentially limits
# your instance to growing by 10 accounts per day.
#
# Setting this number to 0 or less removes the limit.
#
# Default: 10
accounts-registration-daily-limit: 10
# Int. Number of new account sign-ups allowed in the pending
# approval queue before new account registration is closed.
#
# This can be used to essentially "throttle" the sign-up
# queue to prevent instance admins becoming overwhelmed.
#
# Setting this number to 0 or less removes the limit.
#
# Default: 20
accounts-registration-backlog-limit: 20
# Bool. Allow accounts on this instance to set custom CSS for their profile pages and statuses.
# Enabling this setting will allow accounts to upload custom CSS via the /user settings page,
# which will then be rendered on the web view of the account's profile and statuses.