Level 1
Hello,
Why not auth just with 2 fields like username and password.
Don't forget that the username must be unique.
And after the auth your can analyse what is the companie of the user.
Bruno MC
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
How can I build auth with 3 fileds?
like company, username and password.
the tables structure is: companies -> plants -> user_plant -> users
Please or to participate in this conversation.