django-rest-framework-passwordless icon indicating copy to clipboard operation
django-rest-framework-passwordless copied to clipboard

Demo user token freezed

Open caelus-dev opened this issue 2 years ago • 0 comments

Hi,

I found an issue or maybe I don't understand how demo user works (which would also be no surprise, because there's no detailed documentation about it).

So after I added a new user to the system, I added that user to demo users:

    'PASSWORDLESS_DEMO_USERS': {
        uuid.UUID('82426894-a119-4afe-8064-2fb5d663bb6e'): '000000',
    },

But after that nothing really happens. In the callbacktoken db table the last token remains active (is_active is true), there are no new emails, and the auth doesn't accept the given '000000', because there is no callbacktoken with '000000' key.

When I remove the user from the PASSWORDLESS_DEMO_USERS, the auth works again.

What's the problem?

caelus-dev avatar Jul 22 '23 02:07 caelus-dev