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

[1.x] Use available $name property from SessionGuard if the value exists #553

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

crynobone
Copy link
Member

@crynobone crynobone commented Jun 27, 2024

Introduced in Laravel Framwork 10.0.0: laravel/framework#43163

CleanShot 2024-06-27 at 14 25 37

This avoids having to override the method on application that can have separate fortify routes (and user guard) for frontend and backend.

exists

Introduced in Laravel Framwork 10.0.0: laravel/framework#43163

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@crynobone crynobone changed the title [1.x] Use available $name property from SessionGuard if the value [1.x] Use available $name property from SessionGuard if the value exists Jun 27, 2024
@crynobone crynobone marked this pull request as ready for review June 27, 2024 06:27
@taylorotwell taylorotwell merged commit 30bdd31 into 1.x Jun 27, 2024
10 checks passed
@taylorotwell taylorotwell deleted the guard-name branch June 27, 2024 07:55
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