Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 13, 2022
Merged

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

merged 1 commit into from
Apr 13, 2022

Conversation

Jefemy
Copy link
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