[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

@@ -8,6 +8,8 @@ EXPECT=$(cat << "EOF"
"accounts-allow-custom-css": true,
"accounts-custom-css-length": 5000,
"accounts-reason-required": false,
"accounts-registration-backlog-limit": 100,
"accounts-registration-daily-limit": 50,
"accounts-registration-open": true,
"advanced-cookies-samesite": "strict",
"advanced-csp-extra-uris": [],
@@ -252,6 +254,8 @@ GTS_INSTANCE_LANGUAGES="nl,en-gb" \
GTS_INSTANCE_STATS_MODE="baffle" \
GTS_ACCOUNTS_ALLOW_CUSTOM_CSS=true \
GTS_ACCOUNTS_CUSTOM_CSS_LENGTH=5000 \
GTS_ACCOUNTS_REGISTRATION_BACKLOG_LIMIT=100 \
GTS_ACCOUNTS_REGISTRATION_DAILY_LIMIT=50 \
GTS_ACCOUNTS_REGISTRATION_OPEN=true \
GTS_ACCOUNTS_REASON_REQUIRED=false \
GTS_MEDIA_DESCRIPTION_MIN_CHARS=69 \