I am thinking about a login interface. There is a drop down list on that login interface to select one of several user types. The 'log in' button is calling an action to validate the login data in the login controller.
Now, if the login data for user type A is valid, I want to call controllerA. If login data for user type B is valid, I want to call controllerB.
But I know that calling a controller from another controller is not wise.
Then, is there another idea on how to do this login mechanism?
Obviously I can divide the login interface into several parts, each part for each user type.