Skip to content

Commit

Permalink
Expose enable_starttls_auto & openssl_verify_mode.
Browse files Browse the repository at this point in the history
And align `ENV` calls to keep up with codes above.

My fault for using tabs.

which caused a real misalignment.
  • Loading branch information
laosb authored and differentreality committed Aug 11, 2017
1 parent bd62df1 commit 88e31ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@
user_name: ENV['OSEM_SMTP_USERNAME'],
password: ENV['OSEM_SMTP_PASSWORD'],
authentication: ENV['OSEM_SMTP_AUTHENTICATION'].try(:to_sym),
domain: ENV['OSEM_SMTP_DOMAIN'],
enable_starttls_auto: true
domain: ENV['OSEM_SMTP_DOMAIN'],
enable_starttls_auto: ENV['OSEM_SMTP_ENABLE_STARTTLS_AUTO'],
openssl_verify_mode: ENV['OSEM_SMTP_OPENSSL_VERIFY_MODE']
}

# Set the secret_key_base from the env, if not set by any other means
Expand Down

0 comments on commit 88e31ad

Please sign in to comment.