Removed max cap in image validation

This commit is contained in:
snipe 2018-04-24 03:12:17 -07:00
parent d886dcc7c3
commit 103c75e78c

View file

@ -24,8 +24,8 @@ class ImageUploadRequest extends Request
public function rules() public function rules()
{ {
return [ return [
'image' => 'mimes:png,gif,jpg,jpeg,svg|max:2000', 'image' => 'mimes:png,gif,jpg,jpeg,svg',
'avatar' => 'mimes:png,gif,jpg,jpeg,svg|max:2000', 'avatar' => 'mimes:png,gif,jpg,jpeg,svg',
]; ];
} }