Separate User and Admin tables. #1177
-
Hi, Is there any article or instructions on how to separate them for laravel 11 and backpack 6? any help would be really appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
So, for now what ive done is.. fresh installed laravel.. using breeze for authentication.. if anyone can suggest something better or if im doing it wrong please do advice. |
Beta Was this translation helpful? Give feedback.
-
you mean you want to use separate models or you want to use and breeze for frontend logins, backpack for admin ? maybe some more information would be helpful to understand the issue |
Beta Was this translation helpful? Give feedback.
so here you can define your model hardcoded or through your auth.php file as in the image below for a different table as;
and also you can separate your defined guard in the same file as
these are the ways how you can manage multiple auth guards and separate tables for admin, and frontend users