Description
Description:
After running the composer update upgrades laravel/framework to 9.21.0 (released two days ago).
After the upgrade when the user logs in successfully, it redirects the user to the path that requires authentication, however, the user cannot see the page and the unauthenticated
method of Illuminate\Auth\Middleware\Authenticate
is executed.
The same issue is also present in laravel/framework version 8.83.20.
Steps to reproduce
run composer update
in the root of the project,
make sure the composer.json
file contains laravel/framework:^9.20.0
Expected behaviour:
After authentication user must be able to see protected pages.
Actual behaviour:
The user is considered unauthenticated and sent back to login page.
The following merge in 9.21.0 and 8.83.20 can be cause for this: laravel/framework#43278
Workaround
Lock laravel/framework
in your composer.json to 9.20.0/8.83.19 to make it work.