From 24ef09c50e656ae5499743a4800b2f43bc8f6cf4 Mon Sep 17 00:00:00 2001 From: Riccardo Graziosi <31478034+riggraz@users.noreply.github.com> Date: Wed, 26 Jun 2024 13:17:52 +0200 Subject: [PATCH] Fix SMTP production defaults (#371) --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index cf0faa16..7be7cac6 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -77,7 +77,7 @@ Rails.application.configure do authentication: ENV.fetch("EMAIL_SMTP_AUTH", "plain"), enable_starttls_auto: ActiveModel::Type::Boolean.new.cast(ENV.fetch("EMAIL_SMTP_STARTTLS_AUTO", "true")), openssl_verify_mode: ENV["EMAIL_SMTP_OPENSSL_VERIFY_MODE"], - tls: ActiveModel::Type::Boolean.new.cast(ENV.fetch("EMAIL_SMTP_TLS", "true")), + tls: ActiveModel::Type::Boolean.new.cast(ENV.fetch("EMAIL_SMTP_TLS", "false")), } end