mirror of
https://github.com/flarum/core.git
synced 2025-07-21 16:51:34 +02:00
Fix SMTP username and password shouldn't be required (#2287)
This commit is contained in:
@@ -34,8 +34,8 @@ class SmtpDriver implements DriverInterface
|
|||||||
'mail_host' => 'required',
|
'mail_host' => 'required',
|
||||||
'mail_port' => 'nullable|integer',
|
'mail_port' => 'nullable|integer',
|
||||||
'mail_encryption' => 'nullable|in:tls,ssl',
|
'mail_encryption' => 'nullable|in:tls,ssl',
|
||||||
'mail_username' => 'required',
|
'mail_username' => 'nullable|string',
|
||||||
'mail_password' => 'required',
|
'mail_password' => 'nullable|string',
|
||||||
])->errors();
|
])->errors();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user