about summary refs log tree commit diff
path: root/config/initializers/blacklists.rb
blob: 0e3339c98e61b929a8badc09c799fb016d260b39 (plain) (blame)
1
2
3
4
5
6
# frozen_string_literal: true

Rails.application.configure do
  config.x.email_domains_blacklist = (ENV['EMAIL_DOMAIN_DENYLIST']  || ENV['EMAIL_DOMAIN_BLACKLIST']) || ''
  config.x.email_domains_whitelist = (ENV['EMAIL_DOMAIN_ALLOWLIST'] || ENV['EMAIL_DOMAIN_WHITELIST']) || ''
end