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

This commit is contained in:
Nick Couchman authored and Nick Couchman committed 2018-01-29 17:08:10 -05:00
1 parent 8be8626578
commit ecfa9183b5
1 file changed
+1 -1
@@ -121,7 +121,7 @@ public class AuthenticationProviderService {
catch (GuacamoleException e) {
logger.error("Cannot configure RADIUS server: {}", e.getMessage());
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