From 34d18a19a3cd2d16c03594ea9e1c3f423cb55687 Mon Sep 17 00:00:00 2001 From: Bryan Johnson Date: Mon, 21 Apr 2014 18:03:04 -0400 Subject: Minor grammatical fix for Disable Registration feature --- routers/user/user.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'routers') 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 } -- cgit v1.2.3