dj-rest-auth
dj-rest-auth copied to clipboard
Fixed token invalidation on password change
When LOGOUT_ON_PASSWORD_CHANGE=True, we now delete the current user's token to ensure no more API calls are made.
Are you sure this does what you're looking for. You're deleting inside this condition if not self.logout_on_password_change