Checks the login credentials and creates the session for the client. If the login credentials are correct, the customer is directly forwarded to the control panel dashboard.
|user||String||Required||API sub-user ID or username|
|pass||String||Required||API password for the sub-user|
Redirect the customer to the dashboard if the login credentials are correct, or to the login form if they are incorrect.