We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81faacb commit 90b6d1bCopy full SHA for 90b6d1b
stubs/app/Actions/Fortify/UpdateUserProfileInformation.php
@@ -21,7 +21,7 @@ public function update($user, array $input)
21
Validator::make($input, [
22
'name' => ['required', 'string', 'max:255'],
23
'email' => ['required', 'email', 'max:255', Rule::unique('users')->ignore($user->id)],
24
- 'photo' => ['nullable', 'image', 'max:1024'],
+ 'photo' => ['nullable', 'mimes:jpg,jpeg,png', 'max:1024'],
25
])->validateWithBag('updateProfileInformation');
26
27
if (isset($input['photo'])) {
0 commit comments