forked from mirror/pixelfed
Update ApiV1Controller, remove min avatar size limit, fixes #3715
This commit is contained in:
parent
66226658db
commit
2b0db8121a
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ class ApiV1Controller extends Controller
|
|||
abort_if(!$request->user(), 403);
|
||||
|
||||
$this->validate($request, [
|
||||
'avatar' => 'sometimes|mimetypes:image/jpeg,image/png|min:10|max:' . config('pixelfed.max_avatar_size'),
|
||||
'avatar' => 'sometimes|mimetypes:image/jpeg,image/png|max:' . config('pixelfed.max_avatar_size'),
|
||||
'display_name' => 'nullable|string|max:30',
|
||||
'note' => 'nullable|string|max:200',
|
||||
'locked' => 'nullable',
|
||||
|
|
Loading…
Add table
Reference in a new issue