mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-17 13:38:22 +01:00
Fix user image upload
This commit is contained in:
parent
ffc6a4df2b
commit
db355ced70
@ -233,7 +233,7 @@ class UsersController extends AbstractController
|
||||
*/
|
||||
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user