We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e4af89 commit 27fcabeCopy full SHA for 27fcabe
internal/handlers/agent.go
@@ -140,7 +140,7 @@ func agentLoginHandler(w http.ResponseWriter, r *http.Request) {
140
log := internalctx.GetLogger(ctx)
141
142
if targetID, targetSecret, ok := r.BasicAuth(); !ok {
143
- log.Error("invalid Basic Auth")
+ log.Info("invalid Basic Auth")
144
w.WriteHeader(http.StatusUnauthorized)
145
} else if parsedTargetID, err := uuid.Parse(targetID); err != nil {
146
http.Error(w, "targetId is not a valid UUID", http.StatusBadRequest)
0 commit comments