r/discordapp•
HeyOP

Does discord log out all logged in devices if the password is changed on the account?

:bugcatcher: Support

In the event someone's cell phone was stolen or lost while unlocked and logged in to discord, would a password change from another device prevent that logged in phone from being able to use the discord account without first entering the new password?

I'm afraid I have no further details to offer if you have further questions, I am posting this as a surrogate for someone who'd asked for help on r/findareddit whose post was automodded out of this sub due to account age.

Posted Oct 4, 2022, 11:18 AM UTC

13
hyperneutrino15•

Yes. Once you have logged in, you obtain a token that your client uses for all requests and to try to log you back in the next time. Changing your password generates a new random token which invalidates all logins and also instantly stops anyone on your account from doing anything because the token they have is now invalid.

Do be careful of the possibility that the other person could just log back in, if the exploit that allowed them to get the account in the first place is still active, but in this case that doesn't seem to apply.

2
DarkOverLordCO•

And, to add on, each separate login gets a different, unique, random token. This is how the Devices tab allows you to see the different sessions/devices/logins are on your account and log each one out individually. Changing your password simply invalidates all tokens, and generates a new one for the current session.

1
Cootshk:Balance:•

Yes, changing your password changes your token (thing that discord uses to not save your password to your device, used for all communications with the servers)

1