Skip to content

Conversation

alvarochvz
Copy link

When LOGOUT_ON_PASSWORD_CHANGE=True, we now delete the current user's token to ensure no more API calls are made.

Invalidate token on 'LOGOUT_ON_PASSWORD_CHANGE'=True
Invalidate the token when neeeded
@iMerica
Copy link
Owner

iMerica commented Jul 22, 2021

Are you sure this does what you're looking for. You're deleting inside this condition if not self.logout_on_password_change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants