mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update AvatarController, set max avatar size to 2mb
This commit is contained in:
parent
a2eb1f02ba
commit
85e4e9cf65
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class AvatarController extends Controller
|
|||
public function store(Request $request)
|
||||
{
|
||||
$this->validate($request, [
|
||||
'avatar' => 'required|mimes:jpeg,png|max:1000'
|
||||
'avatar' => 'required|mimes:jpeg,png|max:2000'
|
||||
]);
|
||||
try {
|
||||
$user = Auth::user();
|
||||
|
|
Loading…
Add table
Reference in a new issue