Please don't do this. You will regret it later.
Users are users. Their role might be different, and you can decide what they can do with authorisation once you have authenticated them.
If you can, authenticate all users using the same method.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello everyone I want to make login from more one tables in database for example I have doctors , students and admins table can advice me what should I do ?
I'm trying all tutorial but no one work with me :(
Please or to participate in this conversation.