odan / session

A middleware oriented session handler for PHP and Slim 4+
https://odan.github.io/session/
MIT License
60 stars 11 forks source link

Documentation Correction #19

Closed curVV closed 3 years ago

curVV commented 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:

$response->withStatus(302)->withHeader('Location', $url);

...should be:

return $response->withStatus(302)->withHeader('Location', $url);

odan commented 3 years ago

Yes, the return statement was missing. It has been fixed now. Thanks for reporting.