Closed curVV closed 3 years ago
Hi, not sure where to report minor issue on your blog.
On your blog page https://odan.github.io/2021/01/15/slim4-session.html, the last line of src/Action/Auth/LoginSubmitAction.php:
src/Action/Auth/LoginSubmitAction.php
$response->withStatus(302)->withHeader('Location', $url);
...should be:
return $response->withStatus(302)->withHeader('Location', $url);
Yes, the return statement was missing. It has been fixed now. Thanks for reporting.
Hi, not sure where to report minor issue on your blog.
On your blog page https://odan.github.io/2021/01/15/slim4-session.html, the last line of
src/Action/Auth/LoginSubmitAction.php
:$response->withStatus(302)->withHeader('Location', $url);
...should be:
return $response->withStatus(302)->withHeader('Location', $url);