We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f886733 commit a4f1decCopy full SHA for a4f1dec
go/rtl/auth.go
@@ -44,7 +44,7 @@ type AuthSession struct {
44
func NewAuthSession(config ApiSettings) *AuthSession {
45
tr := &http.Transport{
46
TLSClientConfig: &tls.Config{
47
- InsecureSkipVerify: config.VerifySsl,
+ InsecureSkipVerify: !config.VerifySsl,
48
},
49
}
50
return &AuthSession{
@@ -53,6 +53,7 @@ func NewAuthSession(config ApiSettings) *AuthSession {
53
54
55
56
+// The transport parameter may override your VerifySSL setting
57
func NewAuthSessionWithTransport(config ApiSettings, transport http.RoundTripper) *AuthSession {
58
59
Config: config,
0 commit comments