Issue Bug Closed

#80002If by userTS avatar is disabled, it gets lost when user saves his account

Johannes C. Schulz 02/24/17, 14:32 updated 10/17/17, 23:30

Description

I configured all my users with avatars.
Then I looked for a option to prevent the user from editing their avatars. I found this userTS

setup.fields.avatar.disabled = 1

After that the avatar-fields are removed from users user-settings.

But:
If the user saves his account (maybe because he changed the password), the avatar gets lost!

Reproduce:
Create a simple BE:user and assign Avatar. Keep save, that the avatar-image is accessible for that user (add filemount to user).
Add in userTS “setup.fields.avatar.disabled = 1“
Switch to this user.
Open User-Settings and save.
Switch back to BE:user-administration -> avatar is lost

Reviews 1