Allow upper case TLS and SSL for SMTP encryption (#2289)

This commit is contained in:
Alexander Skvortsov 2020-09-12 17:43:06 -04:00 committed by GitHub
parent 207d9c9578
commit f066817daa

View File

@ -33,7 +33,7 @@ class SmtpDriver implements DriverInterface
return $validator->make($settings->all(), [
'mail_host' => 'required',
'mail_port' => 'nullable|integer',
'mail_encryption' => 'nullable|in:tls,ssl',
'mail_encryption' => 'nullable|in:tls,ssl,TLS,SSL',
'mail_username' => 'nullable|string',
'mail_password' => 'nullable|string',
])->errors();