diff --git a/formwork/src/Panel/Controllers/UsersController.php b/formwork/src/Panel/Controllers/UsersController.php index 1a114560..05cd10f8 100644 --- a/formwork/src/Panel/Controllers/UsersController.php +++ b/formwork/src/Panel/Controllers/UsersController.php @@ -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);