mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 05:53:37 +08:00
Allow upper case TLS and SSL for SMTP encryption (#2289)
This commit is contained in:
parent
3f8432a589
commit
c6e85ef330
@ -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…
x
Reference in New Issue
Block a user