Skip to content

Commit 90b6d1b

Browse files
committed
update mimes
1 parent 81faacb commit 90b6d1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: stubs/app/Actions/Fortify/UpdateUserProfileInformation.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function update($user, array $input)
2121
Validator::make($input, [
2222
'name' => ['required', 'string', 'max:255'],
2323
'email' => ['required', 'email', 'max:255', Rule::unique('users')->ignore($user->id)],
24-
'photo' => ['nullable', 'image', 'max:1024'],
24+
'photo' => ['nullable', 'mimes:jpg,jpeg,png', 'max:1024'],
2525
])->validateWithBag('updateProfileInformation');
2626

2727
if (isset($input['photo'])) {

0 commit comments

Comments
 (0)