Remove last name requirement in save user request

This commit is contained in:
snipe 2016-08-30 06:47:38 -07:00
parent 25902db659
commit cd28b012b3

View file

@ -25,10 +25,10 @@ class SaveUserRequest extends Request
{
return [
'first_name' => 'required|string|min:1',
'last_name' => 'required|string|min:1',
'email' => 'email',
'password' => 'required|min:6',
'password_confirm' => 'sometimes|required_with:password',
'username' => 'required|string|min:2|unique:users,username,NULL,deleted_at',
];
}
}