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

Error 500 during checkout after reset of password #1466

Closed
marcaltmann opened this issue Dec 8, 2015 · 2 comments
Closed

Error 500 during checkout after reset of password #1466

marcaltmann opened this issue Dec 8, 2015 · 2 comments
Assignees
Milestone

Comments

@marcaltmann
Copy link
Contributor

Users putting something into the cart, then resetting their password before trying to log in, cannot checkout that cart.

Probably the reason is that the user is logged in immediately after the password reset and the anonymous cart is not refered to the user as after a normal login.

@marcaltmann
Copy link
Contributor Author

Can reproduce this bug. When updating passwords the sessions#create action is not called (which contains the code for updating the cart with the user_id), the user is logged in anyway apparently via devise/passwords#update.

@marcaltmann
Copy link
Contributor Author

passwords#update needs to be overridden and do the same stuff as sessions#create.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants