diff --git a/cmd/web-handlers.go b/cmd/web-handlers.go index d80fe55b1..a3be7ab83 100644 --- a/cmd/web-handlers.go +++ b/cmd/web-handlers.go @@ -458,11 +458,6 @@ type LoginRep struct { func (web *webAPIHandlers) Login(r *http.Request, args *LoginArgs, reply *LoginRep) error { token, err := authenticateWeb(args.Username, args.Password) if err != nil { - // Make sure to log errors related to browser login, - // for security and auditing reasons. - reqInfo := (&logger.ReqInfo{}).AppendTags("remoteAddr", r.RemoteAddr) - ctx := logger.SetReqInfo(context.Background(), reqInfo) - logger.LogIf(ctx, err) return toJSONError(err) }