Update validation for driver and chief fields

This commit is contained in:
Matteo Gheza 2024-01-18 00:49:29 +01:00
parent 44b21594fb
commit 2fda7a0651
1 changed files with 2 additions and 2 deletions

View File

@ -139,8 +139,8 @@ class UserController extends Controller
'birthplace_province' => 'nullable|string|max:255',
'ssn' => 'nullable|string|max:255',
'course_date' => 'nullable|date',
'driver' => 'required|boolean',
'chief' => 'required|boolean',
'driver' => 'boolean',
'chief' => 'boolean',
'banned' => 'nullable|boolean',
'hidden' => 'nullable|boolean',
'driving_license' => 'nullable|array',