After change password session should expire for every possible devices

Dear OJS Team,

I want to create a function for change password, where the user will logout automatic after changing the password for every possible device where I have already logged in.

Thanks in Advance.