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

[10.x] Allow to customise redirect URL in AuthenticateSession Middleware #46752

Merged
merged 2 commits into from
Apr 12, 2023
Merged

[10.x] Allow to customise redirect URL in AuthenticateSession Middleware #46752

merged 2 commits into from
Apr 12, 2023

Conversation

ankurk91
Copy link
Contributor

Hi,

It would be helpful to allow developers to specify the redirect URL when the want to override this middleware in skeleton.

The AuthenticationException expects project to have a route name login when redirect URL is not supplied.

Notice: Illuminate\Auth\Middleware\Authenticate already allows developers to customise it.

@ankurk91 ankurk91 changed the title feat: allow to customize redirect URL in AuthenticateSession Middleware [10.x]: allow to customise redirect URL in AuthenticateSession Middleware Apr 12, 2023
@GrahamCampbell GrahamCampbell changed the title [10.x]: allow to customise redirect URL in AuthenticateSession Middleware [10.x] Allow to customise redirect URL in AuthenticateSession Middleware Apr 12, 2023
@taylorotwell taylorotwell merged commit 95a74d2 into laravel:10.x Apr 12, 2023
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