summaryrefslogtreecommitdiffstats
path: root/models/webhook.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-02-11 12:04:01 -0500
committerUnknwon <joe2010xtmf@163.com>2015-02-11 12:04:01 -0500
commitd02e45f985ce371eb33fcca86bf80ca078be1d88 (patch)
treecbcaee4f1c51df5d62da5025277abf2bfa8dbec6 /models/webhook.go
parent485ea6f14f38cfa5da4fa27865f62fcc7691ffb4 (diff)
downloadgitea-d02e45f985ce371eb33fcca86bf80ca078be1d88.tar.gz
gitea-d02e45f985ce371eb33fcca86bf80ca078be1d88.zip
better naming on #891
Diffstat (limited to 'models/webhook.go')
-rw-r--r--models/webhook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/webhook.go b/models/webhook.go
index 34349bb598..96af0b6967 100644
--- a/models/webhook.go
+++ b/models/webhook.go
@@ -315,7 +315,7 @@ func DeliverHooks() {
req := httplib.Post(t.Url).SetTimeout(timeout, timeout).
Header("X-Gogs-Delivery", t.Uuid).
Header("X-Gogs-Event", string(t.EventType)).
- SetTLSClientConfig(&tls.Config{InsecureSkipVerify: setting.Webhook.AllowInsecureCertification})
+ SetTLSClientConfig(&tls.Config{InsecureSkipVerify: setting.Webhook.SkipTLSVerify})
switch t.ContentType {
case JSON: