dj-rest-auth icon indicating copy to clipboard operation
dj-rest-auth copied to clipboard

Fixed token invalidation on password change

Open alvarochvz opened this issue 4 years ago • 1 comments

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

alvarochvz avatar Jul 15 '21 07:07 alvarochvz

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

iMerica avatar Jul 22 '21 13:07 iMerica