Skip to content

Commit a8d4419

Browse files
Flasher: remove basic auth
1 parent 00d7d6b commit a8d4419

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

updater/http_client.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ func (c *Client) GetInfoManifest() (Manifest, error) {
6969
return Manifest{}, fmt.Errorf("failed to create request: %w", err)
7070
}
7171
c.addHeaders(req)
72-
req.SetBasicAuth("arduino", "daz5YRL4Wektw0faGLsxdG7m")
7372
// #nosec G107 -- manifestURL is constructed from trusted config and parameters
7473
resp, err := c.HTTPClient.Do(req)
7574
if err != nil {
@@ -99,7 +98,6 @@ func (c *Client) FetchZip(zipURL string) (io.ReadCloser, int64, error) {
9998
return nil, 0, fmt.Errorf("failed to create request: %w", err)
10099
}
101100
c.addHeaders(req)
102-
req.SetBasicAuth("arduino", "daz5YRL4Wektw0faGLsxdG7m")
103101
// #nosec G107 -- zipURL is constructed from trusted config and parameters
104102
resp, err := c.HTTPClient.Do(req)
105103
if err != nil {

0 commit comments

Comments
 (0)