forked from External/greenlight
Workaround for issue with email notification (#297)
This commit is contained in:
parent
fd1b586c6e
commit
90b965d03f
|
@ -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")
|
||||
|
|
28
sample.env
28
sample.env
|
@ -66,19 +66,23 @@ ALLOW_GREENLIGHT_ACCOUNTS=true
|
|||
#
|
||||
# SMTP variables can be taken from the list in the following table:
|
||||
#
|
||||
# (SMTP_SERVER= SMTP SETTINGS)
|
||||
# (SMTP_DOMAIN= URL)
|
||||
# ALLOW_MAIL_NOTIFICATIONS=true
|
||||
# SMTP_SERVER=smtp.gmail.com
|
||||
# SMTP_PORT=587
|
||||
# SMTP_DOMAIN=gmail.com
|
||||
# SMTP_USERNAME=<youremail@gmail.com>
|
||||
# SMTP_PASSWORD=<yourpassword>
|
||||
# SMTP_AUTH=plain
|
||||
# SMTP_STARTTLS_AUTO=true
|
||||
#
|
||||
# https://serversmtp.com/smtp-server-address/
|
||||
#
|
||||
GREENLIGHT_MAIL_NOTIFICATIONS=true
|
||||
SMTP_SERVER=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_DOMAIN=gmail.com
|
||||
SMTP_USERNAME=youremail@gmail.com
|
||||
SMTP_PASSWORD=yourpassword
|
||||
SMTP_AUTH=plain
|
||||
SMTP_STARTTLS_AUTO=true
|
||||
ALLOW_MAIL_NOTIFICATIONS=
|
||||
SMTP_SERVER=
|
||||
SMTP_PORT=
|
||||
SMTP_DOMAIN=
|
||||
SMTP_USERNAME=
|
||||
SMTP_PASSWORD=
|
||||
SMTP_AUTH=
|
||||
SMTP_STARTTLS_AUTO=
|
||||
|
||||
# Prefix for the applications root URL.
|
||||
# Useful for deploying the application to a subdirectory, which is highly recommended
|
||||
|
|
Loading…
Reference in New Issue