frontends icon indicating copy to clipboard operation
frontends copied to clipboard

[BUG] logout function not logout from all page

Open Pablossoo opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

We open two browser tabs, one for the home page and one for the shopping cart. If we are on the basket tab and click log out in the profile, we are still logged in on the second tab. We can then go to the profile, make changes etc

Expected Behavior

After clicking logout, we should be logout from all page

Steps To Reproduce

1 log in to the site 2, open e.g. the home page on the first tab, then open the second tab with the next subpage (cart/product, whatever) 3 on the first tab, go to your profile and click log out 4 on the second tab, we are still logged in, refreshing does nothing

Environment

- OS: linux/windows 10, I tested it on a few systems
- Node: 20
- pnpm: -

Anything else?

I don't know if this is a bug in your application or a bug in my project, but I haven't seen any changes in my project's code related with logout function

Pablossoo avatar Mar 22 '24 13:03 Pablossoo

Thank you @Pablossoo

Core issue added NEXT-34608

mdanilowicz avatar Mar 25 '24 09:03 mdanilowicz

The fix has been merged into main, so we can expect it in the next release: https://github.com/shopware/shopware/commit/4cc2e1428a9139fe75c5ea1468b5cb52bb272134

mkucmus avatar Apr 08 '24 16:04 mkucmus