mirror of
https://github.com/flarum/framework.git
synced 2025-02-18 12:33:22 +08:00
Allow upper case TLS and SSL for SMTP encryption (#2289)
This commit is contained in:
parent
207d9c9578
commit
f066817daa
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user