Skip to content

Commit

Permalink
Remove last name requirement in save user request
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Aug 30, 2016
1 parent 25902db commit cd28b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Requests/SaveUserRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ public function rules()
{
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',
];
}
}

0 comments on commit cd28b01

Please sign in to comment.