summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorBryan Johnson <bryan.johnson2@td.com>2014-04-21 18:03:04 -0400
committerBryan Johnson <bryan.johnson2@td.com>2014-04-21 18:03:04 -0400
commit34d18a19a3cd2d16c03594ea9e1c3f423cb55687 (patch)
tree5d9855c0e8afd97d1d3f141576be1045b789161a /modules
parentde01f814892666298d24f79f769a7c0766119c87 (diff)
downloadgitea-34d18a19a3cd2d16c03594ea9e1c3f423cb55687.tar.gz
gitea-34d18a19a3cd2d16c03594ea9e1c3f423cb55687.zip
Minor grammatical fix for Disable Registration feature
Diffstat (limited to 'modules')
-rw-r--r--modules/base/conf.go4
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)
}