From bf0854cacacf1029741af76a7ae31c47c041e449 Mon Sep 17 00:00:00 2001 From: Hao Min Date: Wed, 19 Aug 2020 15:03:18 -0700 Subject: [PATCH] fix secure connection check(allow SSL) --- lib/spree/core/mail_settings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spree/core/mail_settings.rb b/lib/spree/core/mail_settings.rb index 4702e7e..ae54f5d 100644 --- a/lib/spree/core/mail_settings.rb +++ b/lib/spree/core/mail_settings.rb @@ -57,7 +57,7 @@ def need_authentication? end def secure_connection? - Config.secure_connection_type == 'TLS' + Config.secure_connection_type != 'None' end end end