Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed token invalidation on password change #281

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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