astrosat / django-astrosat-users

Common backend library for Astrosat projects' user management
GNU General Public License v3.0
2 stars 0 forks source link

return some minimal user information upon a successful email verification #92

Closed allynt closed 4 years ago

allynt commented 4 years ago

Checklist

Is your feature request related to a problem? Please describe

The frontend needs to be able to determine which type of login page to display after a successful account activation - either the standard login page for an "individual" user, or the about-to-create-a-customer login page for a user that registered as a "team".

Describe the solution you'd like

Return UserSerializerLite content as part of the VerifyEmailView. That includes some minimal and non-sensitive information about the user - crucially the requires_customer_registration_completion field.