Skip to content

Commit

Permalink
Add login support to ephemeral version for demo & testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pglombardo committed Nov 18, 2021
1 parent 996c3e8 commit 099cc22
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions config/environments/private.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,23 @@
config.active_support.deprecation = :notify
config.eager_load = false
config.force_ssl = ENV.key?('FORCE_SSL') ? true : false

config.action_mailer.perform_caching = false
config.action_mailer.raise_delivery_errors = Settings.mail.raise_delivery_errors

config.action_mailer.default_url_options = {
host: Settings.host_domain,
protocol: Settings.host_protocol
}

config.action_mailer.smtp_settings = {
address: Settings.mail.smtp_address,
port: Settings.mail.smtp_port,
user_name: Settings.mail.smtp_user_name,
password: Settings.mail.smtp_password,
authentication: Settings.mail.smtp_authentication,
enable_starttls_auto: Settings.mail.smtp_starttls,
open_timeout: Settings.mail.smtp_open_timeout,
read_timeout: Settings.mail.smtp_read_timeout
}
end

1 comment on commit 099cc22

@pglombardo
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to resolve #265

Please sign in to comment.