1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 18:21:33 +02:00

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 3f8432a589
commit c6e85ef330

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();