Browse Source

Merge branch 'develop' of github.com:gogits/gogs into develop

tags/v0.9.99
Unknwon 9 years ago
parent
commit
48bb639371
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      conf/app.ini
  2. 1
    1
      modules/setting/setting.go

+ 1
- 1
conf/app.ini View File

@@ -82,7 +82,7 @@ ENABLE_CACHE_AVATAR = false
ENABLE_NOTIFY_MAIL = false
; More detail: https://github.com/gogits/gogs/issues/165
ENABLE_REVERSE_PROXY_AUTHENTICATION = false
ENABLE_REVERSE_PROXY_AUTO_REGISTERATION = false
ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false

[webhook]
; Cron task interval in minutes

+ 1
- 1
modules/setting/setting.go View File

@@ -341,7 +341,7 @@ func newService() {
Service.RequireSignInView = Cfg.Section("service").Key("REQUIRE_SIGNIN_VIEW").MustBool()
Service.EnableCacheAvatar = Cfg.Section("service").Key("ENABLE_CACHE_AVATAR").MustBool()
Service.EnableReverseProxyAuth = Cfg.Section("service").Key("ENABLE_REVERSE_PROXY_AUTHENTICATION").MustBool()
Service.EnableReverseProxyAutoRegister = Cfg.Section("service").Key("ENABLE_REVERSE_PROXY_AUTO_REGISTERATION").MustBool()
Service.EnableReverseProxyAutoRegister = Cfg.Section("service").Key("ENABLE_REVERSE_PROXY_AUTO_REGISTRATION").MustBool()
}

var logLevels = map[string]string{

Loading…
Cancel
Save