From e559c3760a0047b24bdb50e3e07fa771759bbb5b Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 10 May 2026 00:03:48 +0200 Subject: [PATCH] avoid log spam if user password is invalid --- htpasswd.go | 1 - 1 file changed, 1 deletion(-) diff --git a/htpasswd.go b/htpasswd.go index 46a8c72..430c991 100644 --- a/htpasswd.go +++ b/htpasswd.go @@ -251,7 +251,6 @@ func (h *HtpasswdFile) Validate(user string, password string) bool { isValid := isMatchingHashAndPassword(hashedPassword, password) if !isValid { - log.Printf("Invalid htpasswd entry for %s.", user) return false }