Skip to content

Commit

Permalink
Fix user image upload
Browse files Browse the repository at this point in the history
  • Loading branch information
giuscris committed Oct 6, 2024
1 parent ffc6a4d commit db355ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formwork/src/Panel/Controllers/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ protected function updateUser(User $user, FieldCollection $fieldCollection): voi
*/
protected function uploadImage(User $user, UploadedFile $file, array $mimeTypes): ?string
{
$imagesPath = FileSystem::joinPaths($this->config->get('system.panel.paths.assets'), '/images/users/');
$imagesPath = FileSystem::joinPaths($this->config->get('system.users.paths.images'));

$fileUploader = new FileUploader($mimeTypes);

Expand Down

0 comments on commit db355ce

Please sign in to comment.