Workaround for issue with email notification (#297)

This commit is contained in:
Jesus Federico
2018-10-15 15:55:29 -04:00
committed by GitHub
parent fd1b586c6e
commit 90b965d03f
2 changed files with 17 additions and 13 deletions

View File

@ -69,7 +69,7 @@ module Greenlight
end
# Determine if GreenLight should enable email verification
config.enable_email_verification = (ENV['GREENLIGHT_MAIL_NOTIFICATIONS'] == "true")
config.enable_email_verification = (ENV['ALLOW_MAIL_NOTIFICATIONS'] == "true")
# Determine if GreenLight should allow non-omniauth signup/login.
config.allow_user_signup = (ENV['ALLOW_GREENLIGHT_ACCOUNTS'] == "true")