mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Remove last name requirement from Form Request
This commit is contained in:
parent
61108102d7
commit
9385c3e9cf
|
@ -25,7 +25,6 @@ class UpdateUserRequest extends Request
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'first_name' => 'required|string|min:1',
|
'first_name' => 'required|string|min:1',
|
||||||
'last_name' => 'required|string|min:1',
|
|
||||||
'email' => 'email',
|
'email' => 'email',
|
||||||
'password_confirm' => 'sometimes|required_with:password',
|
'password_confirm' => 'sometimes|required_with:password',
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue