User Login Server side validation

In failed login cases, what we can do if we would not display all error messages