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

2017-08-25 Thread Eduardo Balbinot
You probably need extra attributes in your User class, which means you could extend the User class like explained here: https://docs.djangoproject.com/en/1.11/topics/auth/customizing/#extending-the-existing-user-model Don't forget you could also work with the *is_active *attribute to control whe

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

2017-08-26 Thread Eduardo Balbinot
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.

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

2017-08-26 Thread Eduardo Balbinot
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 have another flag like has_confirmed_email which you also set to False. When the user confirms the email you