Skip to content

Commit

Permalink
make token slice safer
Browse files Browse the repository at this point in the history
  • Loading branch information
nora-codecov committed May 10, 2024
1 parent a88c4dd commit 7b99c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codecov_auth/authentication/repo_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def authenticate_credentials(self, token):

log.info(
"In GitHubOIDCTokenAuthentication Success",
extra=dict(token_slice=str(token)[39:49], repository=str(repository)),
extra=dict(token_slice=token_slice_for_logging, repository=str(repository)),
)

log.info(
Expand Down

0 comments on commit 7b99c6b

Please sign in to comment.