[#817] Add email whitelist
This adds the ability to filter user signup with a whitelist instead of or in addition to a blacklist. Fixes #817
This commit is contained in:
parent
5f54981846
commit
e9a6da6bc7
4 changed files with 55 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue