Skip to content

Commit

Permalink
Revert "core: TokenAuth request_token fix missing auth" b/c oras-proj…
Browse files Browse the repository at this point in the history
…ect#153

this was taken care in oras-project#153

This reverts commit 10e010b.

Signed-off-by: tarilabs <[email protected]>
  • Loading branch information
tarilabs committed Sep 23, 2024
1 parent 06f885b commit 05b1e57
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions oras/auth/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ def request_token(self, h: auth_utils.authHeader) -> bool:
"""
params = {}
headers = {}
if self._basic_auth: # we exchange the basic auth for the token
headers["Authorization"] = "Basic %s" % self._basic_auth

# Prepare request to retry
if h.service:
Expand Down

0 comments on commit 05b1e57

Please sign in to comment.