Skip to content

Commit

Permalink
Change: Check for user and password on user auth
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalholthaus authored and greenbonebot committed Apr 23, 2024
1 parent 5e6ec44 commit d7f2171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oci-info/action/oci.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(
headers={"accept": ",".join([h.value for h in OciMediaTypes])},
)

self.user_auth = (user, password) if user else None
self.user_auth = (user, password) if user and password else None
self.reg_domain = reg_domain
self.reg_auth_domain = reg_auth_domain
self.reg_auth_service = reg_auth_service
Expand Down

0 comments on commit d7f2171

Please sign in to comment.