GUACAMOLE-197: You can't throw something after you return out of the function, so lets remove the return statement.

This commit is contained in:
Nick Couchman
2017-02-06 12:01:14 -05:00
committed by Nick Couchman
parent fb0cdb39a5
commit dbb62ded77

View File

@@ -131,7 +131,6 @@ public class AuthenticationProviderService {
catch(UnknownAttributeException e) {
logger.error("Error in talks with RADIUS server.");
logger.debug("RADIUS challenged by didn't provide right attributes.");
return null;
throw new GuacamoleInvalidCredentialsException("Authentication error.", CredentialsInfo.USERNAME_PASSWORD);
}
}