diff options
author | 无闻 <joe2010xtmf@163.com> | 2014-04-22 05:30:36 -0400 |
---|---|---|
committer | 无闻 <joe2010xtmf@163.com> | 2014-04-22 05:30:36 -0400 |
commit | dbdaf934e1b8fab06361266268bb55d30b352f37 (patch) | |
tree | 0394c9d721ef939707cbabffc21d56601ac535f7 /modules | |
parent | d6ff275c587ecb9082f2697df7f3e9ec5a0226eb (diff) | |
parent | 34d18a19a3cd2d16c03594ea9e1c3f423cb55687 (diff) | |
download | gitea-dbdaf934e1b8fab06361266268bb55d30b352f37.tar.gz gitea-dbdaf934e1b8fab06361266268bb55d30b352f37.zip |
Merge pull request #87 from bjohnso5/master
Minor grammatical fix for Disable Registration feature
Diffstat (limited to 'modules')
-rw-r--r-- | modules/base/conf.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go index 48ba46583a..abb67f6d8f 100644 --- a/modules/base/conf.go +++ b/modules/base/conf.go @@ -84,7 +84,7 @@ var ( var Service struct { RegisterEmailConfirm bool - DisenableRegisteration bool + DisableRegistration bool RequireSignInView bool EnableCacheAvatar bool NotifyMail bool @@ -116,7 +116,7 @@ var logLevels = map[string]string{ func newService() { Service.ActiveCodeLives = Cfg.MustInt("service", "ACTIVE_CODE_LIVE_MINUTES", 180) Service.ResetPwdCodeLives = Cfg.MustInt("service", "RESET_PASSWD_CODE_LIVE_MINUTES", 180) - Service.DisenableRegisteration = Cfg.MustBool("service", "DISENABLE_REGISTERATION", false) + Service.DisableRegistration = Cfg.MustBool("service", "DISABLE_REGISTRATION", false) Service.RequireSignInView = Cfg.MustBool("service", "REQUIRE_SIGNIN_VIEW", false) Service.EnableCacheAvatar = Cfg.MustBool("service", "ENABLE_CACHE_AVATAR", false) } |