mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Removed max cap in image validation
This commit is contained in:
parent
d886dcc7c3
commit
103c75e78c
|
@ -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',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue