]> cat aescling's git repositories - mastodon.git/commitdiff
Use allow/deny-list instead of white/black-list in .env.production.sample
authorThibaut Girka <thib@sitedethib.com>
Tue, 30 Jun 2020 21:20:21 +0000 (23:20 +0200)
committerThibaut Girka <thib@sitedethib.com>
Tue, 30 Jun 2020 21:32:02 +0000 (23:32 +0200)
.env.production.sample has been nuked upstream, but we decided to keep it,
so change it to reflect latest changes in environment variable names.

(The link still refers to “whitelist_mode” because the documentation hasn't
been updated yet)

.env.production.sample

index 1292b752e22066e35c19e0c36e846b3eaaa1dde2..b76a937ade777eed24acfac8d98f6f6b4a9401ac 100644 (file)
@@ -52,9 +52,9 @@ VAPID_PUBLIC_KEY=
 # Single user mode will disable registrations and redirect frontpage to the first profile
 # SINGLE_USER_MODE=true
 # Prevent registrations with following e-mail domains
-# EMAIL_DOMAIN_BLACKLIST=example1.com|example2.de|etc
+# EMAIL_DOMAIN_DENYLIST=example1.com|example2.de|etc
 # Only allow registrations with the following e-mail domains
-# EMAIL_DOMAIN_WHITELIST=example1.com|example2.de|etc
+# EMAIL_DOMAIN_ALLOWLIST=example1.com|example2.de|etc
 
 # Optionally change default language
 # DEFAULT_LOCALE=de
@@ -286,7 +286,7 @@ STREAMING_CLUSTER_NUM=1
 # https://docs.joinmastodon.org/admin/config/#authorized_fetch
 # AUTHORIZED_FETCH=true
 
-# Whitelist mode (optional)
-# Only allow federation with whitelisted domains, see
+# Limited federation mode (optional)
+# Only allow federation with specific domains, see
 # https://docs.joinmastodon.org/admin/config/#whitelist_mode
-# WHITELIST_MODE=true
+# LIMITED_FEDERATION_MODE=true