EDD session data is not fully removed on logout #9774
Labels
type-bug
workflow-needs-replication
workflow-pending-triage
Items that need to be triaged and reviewed before they are worked on.
Bug Report
Expected behavior
When I log out, I expect the "edd_session_x" cookie to be removed
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."
The text was updated successfully, but these errors were encountered: