odan / session

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

Documentation Correction #19

Closed curVV closed 2 years ago

curVV commented 2 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 2 years ago

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