pixelpassion / django-saas-boilerplate

A Django + django-rest-framework + Heroku + SaaS application boilerplate
MIT License
51 stars 10 forks source link

Email validation #46

Closed jensneuhaus closed 4 years ago

jensneuhaus commented 4 years ago

☝️What is it? Why do we need it?

This issue works together with #30

We need a logic to validate email to make sure, the emails we sent arrive at the correct inbox.

In DARE we had the logic that the user account logic (is_active) is tight together with the email validation but actually these are two different things.

  1. We mark a User as active (e.g. after correct Email verification)
  2. We know, that the Email is verified

It could be possible to turn a User to inactive and still know, his email is verified. Or to set the User to active with an unverified email.

💭 Implementation details

📋 Todos