From 98674b2a21e95f9843274d6ca79e06b7070389fe Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Thu, 12 Mar 2015 12:25:28 -0500 Subject: [PATCH] registeration -> registration --- conf/app.ini | 2 +- modules/setting/setting.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/app.ini b/conf/app.ini index ad38c42e717..8c33aff9176 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -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 diff --git a/modules/setting/setting.go b/modules/setting/setting.go index fd07c17f239..9c1b0ad3c0e 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -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{