I would like to have different types of Users in Django (say Driver and Passenger). So I want both email (with password for Driver) and phone number (with password + OTP for Passenger) authentication.
So I have created custom authentication back end and that is fine.
But in my User model, I have to add both email and phone. Is there any way that could create different kind of two users, one user model (Driver) store email & password and other one (Passenger) stores phone, OTP and password ?