]> source.dussan.org Git - gitblit.git/commitdiff
Don't show all credentials in debug log, only failures.
authorJames Moger <james.moger@gitblit.com>
Sat, 18 Jun 2011 13:24:34 +0000 (09:24 -0400)
committerJames Moger <james.moger@gitblit.com>
Sat, 18 Jun 2011 13:24:34 +0000 (09:24 -0400)
src/com/gitblit/AccessRestrictionFilter.java

index 625eaa99080380d7130da9bca31617b903639b1a..e3dcc62e367c5181c72cc8c0c80af7c4a514d8db 100644 (file)
@@ -118,9 +118,6 @@ public abstract class AccessRestrictionFilter implements Filter {
                                String base64Credentials = authorization.substring(BASIC.length()).trim();\r
                                String credentials = new String(Base64.decode(base64Credentials),\r
                                                Charset.forName("UTF-8"));\r
-                               if (GitBlit.isDebugMode()) {\r
-                                       logger.info(MessageFormat.format("AUTH: {0} ({1})", authorization, credentials));\r
-                               }\r
                                // credentials = username:password\r
                                final String[] values = credentials.split(":");\r
 \r