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
|
end
|
||||||
|
|
||||||
# Determine if GreenLight should enable email verification
|
# 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.
|
# Determine if GreenLight should allow non-omniauth signup/login.
|
||||||
config.allow_user_signup = (ENV['ALLOW_GREENLIGHT_ACCOUNTS'] == "true")
|
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 variables can be taken from the list in the following table:
|
||||||
#
|
#
|
||||||
# (SMTP_SERVER= SMTP SETTINGS)
|
# ALLOW_MAIL_NOTIFICATIONS=true
|
||||||
# (SMTP_DOMAIN= URL)
|
# 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/
|
ALLOW_MAIL_NOTIFICATIONS=
|
||||||
#
|
SMTP_SERVER=
|
||||||
GREENLIGHT_MAIL_NOTIFICATIONS=true
|
SMTP_PORT=
|
||||||
SMTP_SERVER=smtp.gmail.com
|
SMTP_DOMAIN=
|
||||||
SMTP_PORT=587
|
SMTP_USERNAME=
|
||||||
SMTP_DOMAIN=gmail.com
|
SMTP_PASSWORD=
|
||||||
SMTP_USERNAME=youremail@gmail.com
|
SMTP_AUTH=
|
||||||
SMTP_PASSWORD=yourpassword
|
SMTP_STARTTLS_AUTO=
|
||||||
SMTP_AUTH=plain
|
|
||||||
SMTP_STARTTLS_AUTO=true
|
|
||||||
|
|
||||||
# Prefix for the applications root URL.
|
# Prefix for the applications root URL.
|
||||||
# Useful for deploying the application to a subdirectory, which is highly recommended
|
# Useful for deploying the application to a subdirectory, which is highly recommended
|
||||||
|
|
Loading…
Reference in New Issue