Expose enable_starttls_auto & openssl_verify_mode.

And align `ENV` calls to keep up with codes above.

My fault for using tabs.

which caused a real misalignment.
This commit is contained in:
Wexpo Lyu 2017-08-02 11:24:37 -05:00 committed by Stella Rouzi
parent bd62df14c3
commit 88e31ad902

View file

@ -77,8 +77,9 @@ Osem::Application.configure do
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