diff --git a/middleware/basicauth/basicauth.go b/middleware/basicauth/basicauth.go index 8cf8c4aa2..14e7d2105 100644 --- a/middleware/basicauth/basicauth.go +++ b/middleware/basicauth/basicauth.go @@ -87,7 +87,6 @@ var ( ) func GetHtpasswdMatcher(filename, username, siteRoot string) (PasswordMatcher, error) { - fmt.Printf("ZBZB joining '%s' and '%s' and trying to open\n", siteRoot, filename) filename = filepath.Join(siteRoot, filename) htpasswordsMu.Lock() if htpasswords == nil { diff --git a/middleware/middleware_test.go b/middleware/middleware_test.go index 2bc211c00..700beed84 100644 --- a/middleware/middleware_test.go +++ b/middleware/middleware_test.go @@ -1,7 +1,6 @@ package middleware import ( - "fmt" "net/http" "testing" ) @@ -26,7 +25,6 @@ func TestIndexfile(t *testing.T) { } for i, test := range tests { actualFilePath, actualBoolValue := IndexFile(test.rootDir, test.fpath, test.indexFiles) - fmt.Println("ZBZB IndexFile returned", actualFilePath, ",", actualBoolValue) if actualBoolValue == true && test.shouldErr { t.Errorf("Test %d didn't error, but it should have", i) } else if actualBoolValue != true && !test.shouldErr {