Add "none" as choice for MAIL_ENCRYPTION settings/install that translates to =NULL

This commit is contained in:
Darko Gjorgjijoski
2024-07-21 10:42:00 +02:00
parent 532a044bb9
commit 19bf467068
4 changed files with 4 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ class MailConfigurationController extends Controller
'mail_port' => config('mail.port'),
'mail_username' => config('mail.username'),
'mail_password' => config('mail.password'),
'mail_encryption' => config('mail.encryption'),
'mail_encryption' => is_null(config('mail.encryption')) ? 'none' : config('mail.encryption'),
'from_name' => config('mail.from.name'),
'from_mail' => config('mail.from.address'),
'mail_mailgun_endpoint' => config('services.mailgun.endpoint'),