Fix #1535 - #1372 set a wrong default on :openssl_verify_mode (#1563)

master
Eugen 8 years ago committed by GitHub
parent 3ddd936b03
commit 5cdd2c2414
  1. 2
      config/environments/production.rb

@ -100,7 +100,7 @@ Rails.application.configure do
:password => ENV['SMTP_PASSWORD'],
:domain => ENV['SMTP_DOMAIN'] || config.x.local_domain,
:authentication => ENV['SMTP_AUTH_METHOD'] || :plain,
:openssl_verify_mode => ENV['SMTP_OPENSSL_VERIFY_MODE'] || 'peer',
:openssl_verify_mode => ENV['SMTP_OPENSSL_VERIFY_MODE'],
:enable_starttls_auto => ENV['SMTP_ENABLE_STARTTLS_AUTO'] || true,
}

Loading…
Cancel
Save