Moving cakephp 2.7.3 code from localhost to hosting server

Can you debug the post data in the login method to make sure it’s being submitted correctly?

You could also try a manual login by adding the user data as a variable to the login function.

Other than that, you should post your auth configuration and login method in here. There’s really nothing to go by otherwise, and it’s not a common issue as far as I know.