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:
parent
bd62df14c3
commit
88e31ad902
1 changed files with 3 additions and 2 deletions
|
|
@ -77,8 +77,9 @@ Osem::Application.configure do
|
||||||
user_name: ENV['OSEM_SMTP_USERNAME'],
|
user_name: ENV['OSEM_SMTP_USERNAME'],
|
||||||
password: ENV['OSEM_SMTP_PASSWORD'],
|
password: ENV['OSEM_SMTP_PASSWORD'],
|
||||||
authentication: ENV['OSEM_SMTP_AUTHENTICATION'].try(:to_sym),
|
authentication: ENV['OSEM_SMTP_AUTHENTICATION'].try(:to_sym),
|
||||||
domain: ENV['OSEM_SMTP_DOMAIN'],
|
domain: ENV['OSEM_SMTP_DOMAIN'],
|
||||||
enable_starttls_auto: true
|
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
|
# Set the secret_key_base from the env, if not set by any other means
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue