Skip to content

[9.x] Use config session domain for maintenance cookie#41961

Merged
taylorotwell merged 1 commit intolaravel:9.xfrom
Jefemy:9.x
Apr 13, 2022
Merged

[9.x] Use config session domain for maintenance cookie#41961
taylorotwell merged 1 commit intolaravel:9.xfrom
Jefemy:9.x

Conversation

@Jefemy
Copy link
Copy Markdown
Contributor

@Jefemy Jefemy commented Apr 13, 2022

Changes the code proposed in #35036.

The current maintenance cookie only applies to the domain the secret request was sent to. This causes problems for multi subdomain setups as you would need to send that request to each subdomain to get the proper cookies even though they are all served by the same Laravel application. This PR simply hooks the cookie up to the already used config for session domains to fix the problem.

@taylorotwell taylorotwell merged commit d7946f5 into laravel:9.x Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants