Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
remove: commented code about token auth for ac://
Browse files Browse the repository at this point in the history
Signed-off-by: Thorsten Klein <[email protected]>
  • Loading branch information
iwilltry42 committed Jul 11, 2023
1 parent 914df1a commit 0f11605
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/cosign/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ func getAcornPublicKeys(username string) ([]AcornPublicKey, error) {
return nil, err
}

// TODO: maybe use token if user is logged in, so that we could rate-limit anonymous requests?
// token := "g4xc25zkb6b2dkld5fjwvqf6p9lns6lp2h9rbctrqtqf7cb6fr75rd"
// req.Header.Set("Authorization", "Bearer "+token)

resp, err := http.DefaultClient.Do(req)
if err != nil {
return nil, err
Expand Down

0 comments on commit 0f11605

Please sign in to comment.