RailsEventStore / ecommerce

Application with CQRS and Event Sourcing built on Rails and Rails Event Store
MIT License
425 stars 72 forks source link

Log out when detecting unexisting client_id in cookies #360

Closed andrzejkrzywda closed 10 months ago

andrzejkrzywda commented 10 months ago

This mostly happens due to the way, we reset data on production. Someone can be logged in, we reset data, the client_id changes. On new access, log in fails. It now fails by crashing. It should fail by logging out and redirecting to login page again.

andrzejkrzywda commented 10 months ago

Closed with https://github.com/RailsEventStore/ecommerce/commit/6906ed5b682c8ae39f94320f07eb9913f7339191