diff --git a/solr/core/src/java/org/apache/solr/cli/AuthTool.java b/solr/core/src/java/org/apache/solr/cli/AuthTool.java index 817b0093748..d7e4ca715fc 100644 --- a/solr/core/src/java/org/apache/solr/cli/AuthTool.java +++ b/solr/core/src/java/org/apache/solr/cli/AuthTool.java @@ -413,10 +413,7 @@ private void handleBasicAuth(CommandLine cli) throws Exception { includeFile.toPath(), basicAuthConfFile.getAbsolutePath(), null); final String successMessage = String.format( - Locale.ROOT, - "Successfully enabled basic auth with username [%s] and password [%s].", - username, - password); + Locale.ROOT, "Successfully enabled basic auth with username [%s].", username); echo(successMessage); return; case "disable":