Gate registration to ALLOWED_REGISTRATION_EMAIL
This commit is contained in:
@@ -20,6 +20,8 @@ if System.get_env("PHX_SERVER") do
|
||||
config :firehose, FirehoseWeb.Endpoint, server: true
|
||||
end
|
||||
|
||||
config :firehose, :allowed_registration_email, System.get_env("ALLOWED_REGISTRATION_EMAIL")
|
||||
|
||||
if config_env() == :prod do
|
||||
database_url =
|
||||
System.get_env("DATABASE_URL") ||
|
||||
|
||||
Reference in New Issue
Block a user