W
W
WizardW2017-10-13 19:27:49
Computers
WizardW, 2017-10-13 19:27:49

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

1 answer(s)
G
GavriKos, 2019-07-11
@GavriKos

Somewhere in the bowels of the system settings there is such a checkbox - "reboot on critical failures" or something like that. Perhaps you have a BSOD on shutdown and a com goes into reboot.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question