| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -533,7 +533,7 @@ def _set_auth_info(self) -> None: | |||
| 533 | 533 | self.headers.pop("PRIVATE-TOKEN", None) | |
| 534 | 534 | self.headers["JOB-TOKEN"] = self.job_token | |
| 535 | 535 | ||
| 536 | - if self.http_username: | ||
| 536 | + if self.http_username and self.http_password: | ||
| 537 | 537 | self._http_auth = requests.auth.HTTPBasicAuth( | |
| 538 | 538 | self.http_username, self.http_password | |
| 539 | 539 | ) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments