Skip to content

Conversation

@gpibarra
Copy link
Contributor

@gpibarra gpibarra commented Aug 1, 2025

When the application is in maintenance mode and a secret is provided, successful validation always redirects to /.

This commit adds support for redirecting to the originally intended URL (similar to the login behavior). This can be useful, for example, when triggering maintenance mode from within the application and wanting to return to the same page afterward.

@taylorotwell taylorotwell merged commit f7ab414 into laravel:12.x Aug 3, 2025
60 checks passed
@GrahamCampbell GrahamCampbell changed the title redirect intent in maintenance mode [12.x] Redirect intent in maintenance mode Aug 3, 2025
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