I use a custom user model(AbstractBaseUser). How to allow inactive user to login?. Model fields are email , active, admin,..... By default active= false. For email confirmation activation. But I want to allow user to login both with active= true or false.
Aucun commentaire:
Enregistrer un commentaire