#56364Redirect after switch-to-user broken
Description
When using the switch-back function on a backend user the redirect is broken.
Switching back works.
Switch-to is also broken
It says the loop would never be finished, a 302 is returned in response. The link is like
typo3/mod.php?M=system_BeuserTxBeuser&moduleToken=f5bd1f6b00a64591337153ba2d83b4526092304e&SwitchUser=5&switchBackUser=1
In a working version the link was like
typo3/mod.php?M=system_BeuserTxBeuser&SwitchUser=5&switchBackUser=1
So i guess the token can not be validated and causes a redirect.
Could be caused by (assumed from commit message): 6e9e545