Skip to content

Conversation

@karmendra
Copy link
Contributor

@karmendra karmendra commented Sep 2, 2023

Added check in logout to invalidate and regenerate session only if request has session. This will allow logout to work when 'api' middleware is used with fortify. (Issue #486)

Added check in logout to invalidate and regenerate session only if request has session. This will allow logout to work when 'api' middleware is used with fortify
@karmendra karmendra changed the title Update logout to invalidate and regenerate session only if session is present Update logout to invalidate and regenerate session only if session is present (Issue #486) Sep 2, 2023
@driesvints
Copy link
Member

As said on the issue, this isn't a real problem since an API is stateless and therefor should never use this method.

@taylorotwell taylorotwell merged commit dd17853 into laravel:1.x Sep 4, 2023
@karmendra karmendra deleted the logout-I486 branch September 6, 2023 10:53
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.

3 participants