How do i force all devices logged into an account to require logging back after password change?

It the 'keep me logged in' option is checked on the login screen, that device stays logged in, even after the account password has been changed. This is a massive security risk if an account is hacked and the hacker selects the 'keep me logged in' option on the login screen. It allows the hacker continued access even after a user has mistakenly thought they have secured their account by changing the password.