You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add AddQueuedCookiesToResponse to middlewarePriority so it is handled in the right place (#46130)
* add AddQueuedCookiesToResponse to middlewarePriority so it is handled in the right place
Hi there, i was trying to set `session storage` to `cookie`, but the cookies were not set at all. after a bit of search, this came up: #43693
and now i know what he meant. the queued cookies (https://github.com/laravel/framework/blob/10.x/src/Illuminate/Session/CookieSessionHandler.php#L101) never got sent back to the browser
adding the middleware to the list so it is priority-sorted seems to resolve this issue (and fixes#43693)
targets both 9.x and 10.x versions
* update test
0 commit comments