diff --git a/modules/middleware/auth.go b/modules/middleware/auth.go index 33321d6e41..84bbc7f45f 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 758516d779..319db6cfa5 100644 --- a/templates/user/active.tmpl +++ b/templates/user/active.tmpl @@ -2,7 +2,7 @@ {{template "base/navbar" .}}
-

Active Your Account

+

Activate Your Account

{{if .IsActivatePage}} {{if .ServiceNotEnabled}}

Sorry, Register Mail Confirmation has been disabled.

@@ -11,6 +11,7 @@ {{end}} {{else}}

Hi, {{.SignedUser.Name}}, you have an unconfirmed email address({{.SignedUser.Email}}). If you haven't received a confirmation e-mail or need to resend a new one, please click botton below.

+