Hello, I have an idea, In my project I want people with the role id of 2 to be able to access
/adminpanel and log in with their credentials. But only people with the role_ID of 2 can log in. It needs to use the regular user's database. So that the person with the role "admin" can access the admin control panel. What is the best way to achieve this? Are there any sites or tutorials that can help me on my way?
Thanks in advance.