Logout user after password change

Hey,

I allow users to change their passwords using this API Authentication API Explorer but once the user opens the url in his email and changes the password in a new browser tab the old browser tab remains alive and doesn’t logout the user immediately. I would like to logout the user from everywhere once the password has been changed how is this possible?

Thanks alot