diff --git a/modules/middleware/auth.go b/modules/middleware/auth.go index 33321d6e4..84bbc7f45 100644 --- a/modules/middleware/auth.go +++ b/modules/middleware/auth.go @@ -17,9 +17,9 @@ func SignInRequire(redirect bool) martini.Handler { } return } else if !ctx.User.IsActive { - ctx.Data["Title"] = "Activate Your Account" - ctx.Render.HTML(200, "user/active", ctx.Data) - return + // ctx.Data["Title"] = "Activate Your Account" + // ctx.Render.HTML(200, "user/active", ctx.Data) + // return } } } diff --git a/templates/user/active.tmpl b/templates/user/active.tmpl index 758516d77..319db6cfa 100644 --- a/templates/user/active.tmpl +++ b/templates/user/active.tmpl @@ -2,7 +2,7 @@ {{template "base/navbar" .}}