[BUGFIX] Do not override global BE_USER for user settings simulation 51/52551/2
authorMarkus Klein <markus.klein@typo3.org>
Fri, 21 Apr 2017 19:07:01 +0000 (21:07 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 21 Apr 2017 20:31:40 +0000 (22:31 +0200)
commite96d50cb391e276eac1c87db651cfc3512301dbf
tree46868449b639a07b7406d0317d751d81694807e1
parent3ea1a07d5df00e43255a1b5d4a8ed3146a51f6cf
[BUGFIX] Do not override global BE_USER for user settings simulation

Instead of replacing the global user for simulating another user
to edit user settings, store the "user to edit" in the controller.

This prevents a whole lot of possible errors.

Resolves: #80948
Releases: master, 8.7
Change-Id: I302fa9fc3cb17083f2285d786b2072607eb37bb6
Reviewed-on: https://review.typo3.org/52551
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/setup/Classes/Controller/SetupModuleController.php