FilamentF
Filament3y ago
Vp

Multiple panel login

I have three types of user namely
  1. admin
  2. agent
  3. merchant
I create multiple panel like /admin, /agent and /merchant

I want the users who have user_type = agent only can login in /agent and so on, so

  1. Do I need to create multiple custom login page (custom) for each different user_type
  2. Can I create one login page (custom) and check base on user_type, if so, how can I know user_type = agent is trying to login using /agent only and block (throw error) if trying to login in /admin and so on
Thanks in advance
Was this page helpful?