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

EDD session data is not fully removed on logout #9774

Open
megamenu opened this issue Dec 30, 2024 · 0 comments
Open

EDD session data is not fully removed on logout #9774

megamenu opened this issue Dec 30, 2024 · 0 comments
Labels
type-bug workflow-needs-replication workflow-pending-triage Items that need to be triaged and reviewed before they are worked on.

Comments

@megamenu
Copy link

megamenu commented Dec 30, 2024

Bug Report

Expected behavior

When I log out, I expect the "edd_session_x" cookie to be removed

Image

Actual behavior

When I log out, the "wordpress_" cookies are removed, but the "edd_session_x" remains. The presence of the edd_session cookie makes it impossible to complete the checkout using a different email address to the one you were previously logged in with, even though you've now logged out.

Steps to reproduce.

Be logged out, fully cleared browser session with all cookies deleted
Have auto register enabled.
Complete the checkout using [email protected]
Customer is automatically logged in as [email protected]
Log out
Complete the checkout using [email protected]
An error message is shown "Error: To complete this payment, please login to your account."

@megamenu megamenu added type-bug workflow-needs-replication workflow-pending-triage Items that need to be triaged and reviewed before they are worked on. labels Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug workflow-needs-replication workflow-pending-triage Items that need to be triaged and reviewed before they are worked on.
Projects
None yet
Development

No branches or pull requests

1 participant