mirror of
https://github.com/restic/rest-server.git
synced 2026-10-15 15:10:07 -07:00
avoid log spam if user password is invalid
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user