Skip to content

[9.x] Unqueue recaller cookie - #45305

Merged
taylorotwell merged 2 commits into
laravel:9.xfrom
bytestream:patch-3
Dec 14, 2022
Merged

[9.x] Unqueue recaller cookie#45305
taylorotwell merged 2 commits into
laravel:9.xfrom
bytestream:patch-3

Conversation

@bytestream

Copy link
Copy Markdown
Contributor

If you login with remember me and then logout within the same controller action, the user isn't actually logged out as the recaller cookie is still queued in the response:

Auth::attempt(['email' => 'foo@bar', 'password' => 'bar'], true);
Auth::logoutCurrentDevice();

@bytestream bytestream changed the title Unqueue recaller cookie [9.x] Unqueue recaller cookie Dec 14, 2022
@taylorotwell
taylorotwell merged commit 5ccc1fa into laravel:9.x Dec 14, 2022
@bytestream
bytestream deleted the patch-3 branch December 14, 2022 14:39
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