Behavior after password change

I’m really confused what happens after password reset. I have React and Express applications in my tenant. In my React, I have password reset button, which sends a link to an email containing password reset flow. Now, after user resets their password, what happens after that? If I have two browser instances with the same logged in user, how do I manage to log out both of them? What’s the best practice there? Or why do I have to do this myself, why it’s not already implemented? Logically, it’s mandatory to log user out everywhere after password reset.