fix(pia): remove username+password from login bad http status code

This commit is contained in:
Quentin McGaw
2022-10-31 10:59:28 +00:00
parent 49b7301295
commit 1d1657e9be

View File

@@ -266,7 +266,7 @@ func fetchToken(ctx context.Context, client *http.Client,
defer response.Body.Close()
if response.StatusCode != http.StatusOK {
return "", makeNOKStatusError(response, nil)
return "", makeNOKStatusError(response, errSubstitutions)
}
decoder := json.NewDecoder(response.Body)