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:
1 parent
fb0cdb39a5
commit
dbb62ded77
1 file changed
-1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user