Logout user after password change

Hey,

I allow users to change their passwords using this API https://auth0.com/docs/api/authentication?javascript#change-password 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