GUACAMOLE-197: Fix issue where wrong error message is logged.

This commit is contained in:
Nick Couchman
2017-04-11 09:23:19 -04:00
committed by Nick Couchman
parent 8be8626578
commit ecfa9183b5

View File

@@ -121,7 +121,7 @@ public class AuthenticationProviderService {
catch (GuacamoleException e) { catch (GuacamoleException e) {
logger.error("Cannot configure RADIUS server: {}", e.getMessage()); logger.error("Cannot configure RADIUS server: {}", e.getMessage());
logger.debug("Error configuring RADIUS server.", e); logger.debug("Error configuring RADIUS server.", e);
radPack = null; throw new GuacamoleInvalidCredentialsException("Authentication error.", CredentialsInfo.USERNAME_PASSWORD);
} }
// If configure fails, permission to login is denied // If configure fails, permission to login is denied