Saturday, August 26, 2017

Re: Best way to implement a more complex user registration/auth flow?

You could do like this: when the user signs in you create the user in the database and flags is_active as False, so the user won't be able to log in. In your extended User model you could haverá

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/501f722a-5953-4fba-b1e7-bf936b0db008%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment