Project

General

Profile

Actions

Bug #80002

closed

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

Added by Johannes C. Schulz over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2017-02-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
userTS Backenduser
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

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

Actions

Also available in: Atom PDF