summaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-13 11:07:21 -0400
committerUnknwon <u@gogs.io>2015-09-13 11:07:21 -0400
commit83e747bfda43c2c8fa0aceb2c989d42fe5ca1582 (patch)
tree1dfee9128010bb08ad2177c24fd1c5c8c53d45cd /modules/setting
parente5ed5904c62d9a618cb6f4ad852b021a02c3481e (diff)
downloadgitea-83e747bfda43c2c8fa0aceb2c989d42fe5ca1582.tar.gz
gitea-83e747bfda43c2c8fa0aceb2c989d42fe5ca1582.zip
#697 and #1606 and new admin edit user UI
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/setting.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 06d02005e1..a6211e9060 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -421,7 +421,7 @@ var Service struct {
EnableReverseProxyAuth bool
EnableReverseProxyAutoRegister bool
DisableMinimumKeySizeCheck bool
- DisableCaptcha bool
+ EnableCaptcha bool
}
func newService() {
@@ -435,7 +435,7 @@ func newService() {
Service.EnableReverseProxyAuth = sec.Key("ENABLE_REVERSE_PROXY_AUTHENTICATION").MustBool()
Service.EnableReverseProxyAutoRegister = sec.Key("ENABLE_REVERSE_PROXY_AUTO_REGISTRATION").MustBool()
Service.DisableMinimumKeySizeCheck = sec.Key("DISABLE_MINIMUM_KEY_SIZE_CHECK").MustBool()
- Service.DisableCaptcha = sec.Key("DISABLE_CAPTCHA").MustBool()
+ Service.EnableCaptcha = sec.Key("ENABLE_CAPTCHA").MustBool()
}
var logLevels = map[string]string{