Skip to content

Commit

Permalink
implement review request
Browse files Browse the repository at this point in the history
Signed-off-by: tarilabs <matteo.mortari@gmail.com>
  • Loading branch information
tarilabs committed Jul 13, 2024
1 parent c243eb2 commit 102381c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oras/auth/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def authenticate_request(
original: requests.Response,
headers: dict,
refresh=False,
skipAnonToken=False,
skip_anon_token=False,
):
"""
Authenticate Request
Expand Down Expand Up @@ -77,7 +77,7 @@ def authenticate_request(
h = auth_utils.parse_auth_header(authHeaderRaw)

# First try to request an anonymous token
if not skipAnonToken:
if not skip_anon_token:
logger.debug("No Authorization, requesting anonymous token")
anon_token = self.request_anonymous_token(h)
if anon_token:
Expand Down

0 comments on commit 102381c

Please sign in to comment.