From 572f7eb6e2ed197d10550b1a725bdb7aeb36ee48 Mon Sep 17 00:00:00 2001 From: Jaton David Date: Tue, 17 Dec 2024 17:37:10 +0100 Subject: [PATCH] Update image max size to 1 giga --- app/Http/Requests/ProfileUpdateRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/ProfileUpdateRequest.php b/app/Http/Requests/ProfileUpdateRequest.php index 13b73a9..f8f16fc 100644 --- a/app/Http/Requests/ProfileUpdateRequest.php +++ b/app/Http/Requests/ProfileUpdateRequest.php @@ -26,7 +26,7 @@ public function rules(): array Rule::unique(User::class)->ignore($this->user()->id), ], - 'image' => ['nullable', 'image', 'mimes:jpeg,png,jpg', 'max:10240'], + 'image' => ['nullable', 'image', 'mimes:jpeg,png,jpg', 'max:1048576'], ]; } }