mirror of https://github.com/apache/cloudstack.git
bug 11298: give detailed error message when failed to authenticate a user
status 11298: resolved fixed
This commit is contained in:
parent
acaba52736
commit
39b78ee17c
|
|
@ -731,7 +731,7 @@ public class ApiServer implements HttpRequestHandler {
|
|||
|
||||
return;
|
||||
}
|
||||
throw new CloudAuthenticationException("Unable to find user " + username + " in domain " + domainId);
|
||||
throw new CloudAuthenticationException("Failed to authenticate user " + username + " in domain " + domainId + "; please provide valid credentials");
|
||||
}
|
||||
|
||||
public void logoutUser(long userId) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue