add ability to disable guest access

This commit is contained in:
Josh
2017-07-12 16:34:16 -04:00
parent 0cbb587fc0
commit 3a882f85c6
4 changed files with 36 additions and 14 deletions

View File

@ -42,6 +42,7 @@ module Greenlight
config.use_webhooks = ENV['GREENLIGHT_USE_WEBHOOKS'] == "true"
config.mail_notifications = ENV['GREENLIGHT_MAIL_NOTIFICATIONS'] == "true"
config.disable_guest_access = ENV['DISABLE_GUEST_ACCESS'] == "true"
# SMTP and action mailer
if config.mail_notifications