Can I have two different login forms that are connecting to two different tables.
I want one for the user and one for the administrator
IS this possible and what will I have to take into account?
Can I have two different login forms that are connecting to two different tables.
I want one for the user and one for the administrator
IS this possible and what will I have to take into account?
Yes, it is possible, but do you really need this? Just add “role” field to your users table to assign correct role, when user logs in. You don’t need second table for admins.
You can make 2 views for same controller and model if you want different appearence of login form.