Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b692e8 commit 2dd177bCopy full SHA for 2dd177b
gitlab/client.py
@@ -533,7 +533,7 @@ def _set_auth_info(self) -> None:
533
self.headers.pop("PRIVATE-TOKEN", None)
534
self.headers["JOB-TOKEN"] = self.job_token
535
536
- if self.http_username:
+ if self.http_username and self.http_password:
537
self._http_auth = requests.auth.HTTPBasicAuth(
538
self.http_username, self.http_password
539
)
0 commit comments