diff options
author | Bryan Johnson <bryan.johnson2@td.com> | 2014-04-21 18:03:04 -0400 |
---|---|---|
committer | Bryan Johnson <bryan.johnson2@td.com> | 2014-04-21 18:03:04 -0400 |
commit | 34d18a19a3cd2d16c03594ea9e1c3f423cb55687 (patch) | |
tree | 5d9855c0e8afd97d1d3f141576be1045b789161a /routers/user | |
parent | de01f814892666298d24f79f769a7c0766119c87 (diff) | |
download | gitea-34d18a19a3cd2d16c03594ea9e1c3f423cb55687.tar.gz gitea-34d18a19a3cd2d16c03594ea9e1c3f423cb55687.zip |
Minor grammatical fix for Disable Registration feature
Diffstat (limited to 'routers/user')
-rw-r--r-- | routers/user/user.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/routers/user/user.go b/routers/user/user.go index 91b51ceec9..7decd72d4e 100644 --- a/routers/user/user.go +++ b/routers/user/user.go @@ -169,8 +169,8 @@ func SignUp(ctx *middleware.Context) { ctx.Data["Title"] = "Sign Up" ctx.Data["PageIsSignUp"] = true - if base.Service.DisenableRegisteration { - ctx.Data["DisenableRegisteration"] = true + if base.Service.DisableRegistration { + ctx.Data["DisableRegistration"] = true ctx.HTML(200, "user/signup") return } @@ -208,7 +208,7 @@ func SignUpPost(ctx *middleware.Context, form auth.RegisterForm) { ctx.Data["Title"] = "Sign Up" ctx.Data["PageIsSignUp"] = true - if base.Service.DisenableRegisteration { + if base.Service.DisableRegistration { ctx.Handle(403, "user.SignUpPost", nil) return } |