mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
e9a6da6bc7
This adds the ability to filter user signup with a whitelist instead of or in addition to a blacklist. Fixes #817
7 lines
237 B
Ruby
7 lines
237 B
Ruby
# frozen_string_literal: true
|
|
|
|
Rails.application.configure do
|
|
config.x.email_domains_blacklist = ENV.fetch('EMAIL_DOMAIN_BLACKLIST') { 'mvrht.com' }
|
|
config.x.email_domains_whitelist = ENV.fetch('EMAIL_DOMAIN_WHITELIST') { '' }
|
|
end
|