Skip to content

Commit

Permalink
Workaround for issue with email notification (bigbluebutton#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfederico authored Oct 15, 2018
1 parent fd1b586 commit 90b965d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Application < Rails::Application
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")
Expand Down
30 changes: 17 additions & 13 deletions sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -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)
#
# https://serversmtp.com/smtp-server-address/
#
GREENLIGHT_MAIL_NOTIFICATIONS=true
SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
SMTP_DOMAIN=gmail.com
SMTP_USERNAME=[email protected]
SMTP_PASSWORD=yourpassword
SMTP_AUTH=plain
SMTP_STARTTLS_AUTO=true
# ALLOW_MAIL_NOTIFICATIONS=true
# SMTP_SERVER=smtp.gmail.com
# SMTP_PORT=587
# SMTP_DOMAIN=gmail.com
# SMTP_USERNAME=<[email protected]>
# 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
Expand Down

0 comments on commit 90b965d

Please sign in to comment.