From c26ad690a19b8216737f16aa5ca87a734a7e113b Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 1 Feb 2017 13:42:03 +0200 Subject: [PATCH] Support disabling mail encryption #1244 --- resources/views/partials/system_settings.blade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/views/partials/system_settings.blade.php b/resources/views/partials/system_settings.blade.php index d03493bee6d5..30b38eb77e7b 100644 --- a/resources/views/partials/system_settings.blade.php +++ b/resources/views/partials/system_settings.blade.php @@ -45,7 +45,8 @@ ->value(isset($_ENV['MAIL_HOST']) ? $_ENV['MAIL_HOST'] : '') !!} {!! Former::text('mail[port]')->label('Port') ->value(isset($_ENV['MAIL_PORT']) ? $_ENV['MAIL_PORT'] : '587') !!} - {!! Former::select('mail[encryption]')->label('Encryption')->options(['tls' => 'TLS', 'ssl' => 'SSL']) + {!! Former::select('mail[encryption]')->label('Encryption') + ->options(['tls' => 'TLS', 'ssl' => 'SSL', '' => 'None']) ->value(isset($_ENV['MAIL_ENCRYPTION']) ? $_ENV['MAIL_ENCRYPTION'] : 'tls') !!} {!! Former::password('mail[password]')->label('Password') ->value(isset($_ENV['MAIL_PASSWORD']) ? $_ENV['MAIL_PASSWORD'] : '') !!}