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

Prevent guest orders hijacking #8586

Merged
merged 2 commits into from
Sep 11, 2017

Conversation

Zales0123
Copy link
Member

Q A
Bug fix? yes
New feature? no
BC breaks? no
Related tickets
License MIT

The problem was, that if we change email address in addressing checkout step, it was changed in customer entity. The quick fix for that is to create a new Customer if email is changed. It would sadly result in unneeded Customers with wrong email in database, but it's still much better than current bug 😄

@Zales0123 Zales0123 added Bug Fix Critical Issues and PRs, which are critical and should be fixed ASAP. labels Sep 11, 2017
@Zales0123 Zales0123 added this to the v1.0.0 milestone Sep 11, 2017
@pjedrzejewski pjedrzejewski merged commit a606ff3 into Sylius:master Sep 11, 2017
@pjedrzejewski
Copy link
Member

Thanks Mateusz, nice work!

And I select "Offline" payment method
And I complete the payment step
And I confirm my order
And I register with previously used "ned@stark.com" email and "lannistersAreDumb" password
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@Zales0123 Zales0123 deleted the account-hijacking branch September 11, 2017 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Critical Issues and PRs, which are critical and should be fixed ASAP.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants