This commit is contained in:
baodev0
2026-07-25 16:26:32 +07:00
parent 6497cc8ddc
commit ad743d3767
3 changed files with 6 additions and 2 deletions
@@ -57,6 +57,8 @@ class SettingController extends Controller
'smtp.port' => 'sometimes|integer',
'smtp.user' => 'sometimes|email',
'smtp.encryption' => 'sometimes|in:ssl,tls,starttls,',
'smtp.from_name' => 'sometimes|string|nullable',
'smtp.from_address' => 'sometimes|email|nullable',
]);
if ($validator->fails()) {