Incorrect tokens handling: after changing the password by an authorized user, the old one (already expired) remains in use and is not replaced with the newly received one. As a result: all subsequent requests to the server come with code 401.
Features Implemented
Clear authorized token storage before re-login via password flow after password change
Clear cart before re-login to prevent merge-error
Re-sync cart and update store on auth state change
Overview
Incorrect tokens handling: after changing the password by an authorized user, the old one (already expired) remains in use and is not replaced with the newly received one. As a result: all subsequent requests to the server come with code 401.
Features Implemented
Link to Issue
252