avoid log spam if user password is invalid

This commit is contained in:
Michael Eischer
2026-10-12 21:40:10 +02:00
parent b74306f096
commit e559c3760a
-1
View File
@@ -251,7 +251,6 @@ func (h *HtpasswdFile) Validate(user string, password string) bool {
isValid := isMatchingHashAndPassword(hashedPassword, password) isValid := isMatchingHashAndPassword(hashedPassword, password)
if !isValid { if !isValid {
log.Printf("Invalid htpasswd entry for %s.", user)
return false return false
} }