Skip to content

Commit

Permalink
update mimes
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 24, 2021
1 parent 81faacb commit 90b6d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/app/Actions/Fortify/UpdateUserProfileInformation.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function update($user, array $input)
Validator::make($input, [
'name' => ['required', 'string', 'max:255'],
'email' => ['required', 'email', 'max:255', Rule::unique('users')->ignore($user->id)],
'photo' => ['nullable', 'image', 'max:1024'],
'photo' => ['nullable', 'mimes:jpg,jpeg,png', 'max:1024'],
])->validateWithBag('updateProfileInformation');

if (isset($input['photo'])) {
Expand Down

0 comments on commit 90b6d1b

Please sign in to comment.