about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-04-05 03:04:58 +0200
committerGitHub <noreply@github.com>2017-04-05 03:04:58 +0200
commit117b22e905832132367b20e2ef79e98cf9f03f17 (patch)
treebff17e40071d818d2fab57c5df7945ccdadf05cf /config/initializers
parentd3dab68978103e304d38589d154b34ef890e0715 (diff)
parente9a6da6bc739f4f68447f56b93810762da388ce8 (diff)
Merge pull request #852 from peterkeen/email-whitelist-817
[#817] Add email whitelist
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/blacklists.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/blacklists.rb b/config/initializers/blacklists.rb
index 52646e64d..6db7be7dc 100644
--- a/config/initializers/blacklists.rb
+++ b/config/initializers/blacklists.rb
@@ -2,4 +2,5 @@
 
 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