Skip to content

Changing password should log out every token #112

Open

Description

@DooblyNoobly

When you reset or change your password, your old tokens keep working. So if someone has stolen a token they keep access for up to 30 days, even after you've changed it.

Password change should kill all of that account's tokens. logoutall already does this, so it just needs calling.

accounts/api/views.py 263-266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions