Skip to content

Pass file name of cropped avatar to form data

When avatar is cropped, all filename data including file extension is lost, leading to uploads like <hash>.blob that are causing mime issues in some setups.

This MR extends updateProfileImages with avatarName and passes original filename alongside with blob of cropped image to be specified in form data.

Edited by iamtakingiteasy

Merge request reports

Loading