Answer the question
In order to leave comments, you need to log in
How can I unbind a token from a user made with default_token_generator?
The question is about the django.contrib.auth.tokens module.
I cannot find a function that could unbind the token from the user so that there are no conflicts. For example, if I don't verify email during registration, then I can verify it another time. Then I need to unbind all the tokens already available for this user and bind one new one.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question