max:10240

This commit is contained in:
HolgerHatGarKeineNode
2023-02-13 13:37:15 +01:00
parent b54edfe504
commit a0cf95d2a0

View File

@@ -29,7 +29,7 @@ class UpdateUserProfileInformation implements UpdatesUserProfileInformation
'nullable', 'email', 'max:255', Rule::unique('users')
->ignore($user->id)
],
'photo' => ['nullable', 'mimes:jpg,jpeg,png,gif', 'max:1024'],
'photo' => ['nullable', 'mimes:jpg,jpeg,png,gif', 'max:10240'],
])
->validateWithBag('updateProfileInformation');