Fixing Impersonation Redirects in Reimpact Platform
In the Reimpact platform, a recent issue arose during user impersonation, specifically in the administrative interface. The problem manifested as a 500 error when accessing the
ewcommand{\administration}{\texttt{/administration/users}} route. This was traced back to the use of redirect() within the impersonation action.
The core issue was that redirect() returned void and then called