Update validation for driver and chief fields
This commit is contained in:
parent
44b21594fb
commit
2fda7a0651
|
@ -139,8 +139,8 @@ class UserController extends Controller
|
||||||
'birthplace_province' => 'nullable|string|max:255',
|
'birthplace_province' => 'nullable|string|max:255',
|
||||||
'ssn' => 'nullable|string|max:255',
|
'ssn' => 'nullable|string|max:255',
|
||||||
'course_date' => 'nullable|date',
|
'course_date' => 'nullable|date',
|
||||||
'driver' => 'required|boolean',
|
'driver' => 'boolean',
|
||||||
'chief' => 'required|boolean',
|
'chief' => 'boolean',
|
||||||
'banned' => 'nullable|boolean',
|
'banned' => 'nullable|boolean',
|
||||||
'hidden' => 'nullable|boolean',
|
'hidden' => 'nullable|boolean',
|
||||||
'driving_license' => 'nullable|array',
|
'driving_license' => 'nullable|array',
|
||||||
|
|
Loading…
Reference in New Issue