mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 06:39:40 +08:00
Fix SMTP username and password shouldn't be required (#2287)
This commit is contained in:
parent
96c95f2b6a
commit
3f8432a589
@ -34,8 +34,8 @@ class SmtpDriver implements DriverInterface
|
||||
'mail_host' => 'required',
|
||||
'mail_port' => 'nullable|integer',
|
||||
'mail_encryption' => 'nullable|in:tls,ssl',
|
||||
'mail_username' => 'required',
|
||||
'mail_password' => 'required',
|
||||
'mail_username' => 'nullable|string',
|
||||
'mail_password' => 'nullable|string',
|
||||
])->errors();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user