summaryrefslogtreecommitdiff
path: root/test/envparsing.sh
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-02-10 15:46:36 +0100
committerLibravatar GitHub <noreply@github.com>2025-02-10 15:46:36 +0100
commit787bdc1488da476e54fb0daded061cf36ecf9010 (patch)
tree892cf4b9d42887ac703d8ee565be884c89b2d903 /test/envparsing.sh
parent[bugfix] Fix POST to create account endpoint (#3767) (diff)
downloadgotosocial-787bdc1488da476e54fb0daded061cf36ecf9010.tar.xz
[feature] make account sign-up / backlog limits configurable (#3768)
Diffstat (limited to 'test/envparsing.sh')
-rwxr-xr-xtest/envparsing.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/envparsing.sh b/test/envparsing.sh
index 904dc8764..0e7c0db20 100755
--- a/test/envparsing.sh
+++ b/test/envparsing.sh
@@ -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 \