From 767eb537d28dccf73c78796b7d6dd27fe7073d66 Mon Sep 17 00:00:00 2001 From: James Moger Date: Sat, 18 Jun 2011 09:24:34 -0400 Subject: [PATCH] Don't show all credentials in debug log, only failures. --- src/com/gitblit/AccessRestrictionFilter.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/com/gitblit/AccessRestrictionFilter.java b/src/com/gitblit/AccessRestrictionFilter.java index 625eaa99..e3dcc62e 100644 --- a/src/com/gitblit/AccessRestrictionFilter.java +++ b/src/com/gitblit/AccessRestrictionFilter.java @@ -118,9 +118,6 @@ public abstract class AccessRestrictionFilter implements Filter { String base64Credentials = authorization.substring(BASIC.length()).trim(); String credentials = new String(Base64.decode(base64Credentials), Charset.forName("UTF-8")); - if (GitBlit.isDebugMode()) { - logger.info(MessageFormat.format("AUTH: {0} ({1})", authorization, credentials)); - } // credentials = username:password final String[] values = credentials.split(":"); -- 2.39.5