renamed HttpClient to HTTPClient.
Dieser Commit ist enthalten in:
Ursprung
ba2ed57968
Commit
cca8fcc237
|
@ -48,7 +48,7 @@ type SAML struct {
|
|||
UnkownAuthority bool
|
||||
IDP string `comment:"URL of the Metadata of the IDP"`
|
||||
sp *saml.ServiceProvider
|
||||
HttpClient http.Client `toml:"-"`
|
||||
HTTPClient http.Client `toml:"-"`
|
||||
Domain string
|
||||
Cookiename string
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ func NewSAMLEndpoint(config *toml.Tree) (s *SAML, err error) {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
s.sp.IDPMetadata, err = samlsp.FetchMetadata(context.Background(), &s.HttpClient, *idpurl)
|
||||
s.sp.IDPMetadata, err = samlsp.FetchMetadata(context.Background(), &s.HTTPClient, *idpurl)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
|
Laden…
In neuem Issue referenzieren