kindly i'm new in laravel i have there types of users one is admin and customer and vendor i want to make multiple authentication with this steps 1- all user will be inserted in User Table and i will differentiate between them with job_type
field
1=>admin 2=>custeomer 3=>vendor
2- my question is how to configure $gurde
in user.php
(model) because i have multiple user type ? if i use default multiple authentication :
i make$gurde
for admin table in admin model or $gurde
of customer service in customer model i will repete data like email and password and if i make view for front end i will make admin and vendor create anew user again.
user table :email|password
admin table :email|password
i want make all user register data like email and password in user tabel only . thanks
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire