Skip to content

Commit

Permalink
Fix basic auth test
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikschulz committed Jun 30, 2017
1 parent a743c12 commit 1f53c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/nodes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (h *basicAuth) checkAuth(w http.ResponseWriter, r *http.Request) bool {
}

if h.User == pair[0] && h.Pass == pair[1] {
return false
return true
}
return false
}
Expand Down

0 comments on commit 1f53c4f

Please sign in to comment.