so i upgraded from 3.8.1 to 3.10.0
now all my redirects are broken…
did i miss the memo? some methods get deprecated or something?
in my auth middleware i check is user logged in and if not do this which used to work…
return $response->withStatus(403)->withHeader(‘Location’, ‘/login/’);
all i get now is a blank screen
$response = $response->withStatus(403)->withHeader(‘Location’, ‘/login/’);
if i do that i get foo on the screen so there is no redirect happening i think?
anyone know whats going on? what im doing wrong?
i have no code changes aside from updating dependencies
so if i rename the vendor directory and put the old one back in it works again…
if i put it back then request /logout i get the same behavior with a redirect initiated from within a controller