mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-09-03 22:01:00 +00:00
refactor(platform): restate the legacy-era mail rules and backup docblock
This commit is contained in:
@@ -154,15 +154,8 @@ class MailConfigurationService implements MailConfigurator
|
||||
'string',
|
||||
Rule::in($availableDrivers),
|
||||
],
|
||||
'from_name' => [
|
||||
'required',
|
||||
'string',
|
||||
],
|
||||
'from_mail' => [
|
||||
'required',
|
||||
'string',
|
||||
'email',
|
||||
],
|
||||
'from_name' => ['required', 'string'],
|
||||
'from_mail' => ['required', 'string', 'email'],
|
||||
];
|
||||
|
||||
if ($allowDisabledCustomConfig) {
|
||||
|
||||
Reference in New Issue
Block a user