Update UploadProfileImage.php

This commit is contained in:
Carlos Ferreira 2018-05-24 01:10:35 +02:00 committed by GitHub
parent 12de158d11
commit 417df64888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ class UploadProfileImage extends Model
{
return [
['image', 'required'],
['image', 'file', 'extensions' => 'jpg, jpeg, png, tiff', 'maxSize' => 3 * 1024 * 1024],
['image', 'file', 'extensions' => 'jpg, jpeg, png, tiff'],
];
}