diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-02-11 12:04:01 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-02-11 12:04:01 -0500 |
commit | d02e45f985ce371eb33fcca86bf80ca078be1d88 (patch) | |
tree | cbcaee4f1c51df5d62da5025277abf2bfa8dbec6 /modules/setting | |
parent | 485ea6f14f38cfa5da4fa27865f62fcc7691ffb4 (diff) | |
download | gitea-d02e45f985ce371eb33fcca86bf80ca078be1d88.tar.gz gitea-d02e45f985ce371eb33fcca86bf80ca078be1d88.zip |
better naming on #891
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index d71a8cda55..6664c41907 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -69,9 +69,9 @@ var ( // Webhook settings. Webhook struct { - TaskInterval int - DeliverTimeout int - AllowInsecureCertification bool + TaskInterval int + DeliverTimeout int + SkipTLSVerify bool } // Repository settings. @@ -514,7 +514,7 @@ func newWebhookService() { sec := Cfg.Section("webhook") Webhook.TaskInterval = sec.Key("TASK_INTERVAL").MustInt(1) Webhook.DeliverTimeout = sec.Key("DELIVER_TIMEOUT").MustInt(5) - Webhook.AllowInsecureCertification = sec.Key("ALLOW_INSECURE_CERTIFICATION").MustBool() + Webhook.SkipTLSVerify = sec.Key("SKIP_TLS_VERIFY").MustBool() } func NewServices() { |