lundi 19 février 2018

Laravel Authentication with 2 types of users

I'm trying to wrap my head around the best approach to this problem, I'm making a web-app that is to have two types of users. - Administrator (administrators_table) - User (users_table)

The User has many many more properties than an Administrator which is relatively straight-forward. So we've separated them to different tables.

Ideally, I'd like them to use the same login form. Would my current scenario of two separate tables be recommended, or is there a better approach to this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire