Closed
Description
Description
I've in the past needed a generic user switch so I implemented it at config level
Now I find myself I need it at runtime level, specific per user switch execution
right now I have an hack solution, kind of making work it but not perfect
RFC: would it make sens to implement such logic in the Symfony core directly? (in event + listener)
For ex in
, adding in priority a method call that can read such new redirectPath from the switch user event for exampleOf course I will contribute it if it is valuable
Thank you
Actual code I have/trying: maybe store data in session and catch it on user switch finish and redirect on it