aboutsummaryrefslogtreecommitdiff
path: root/routers/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/home.go')
-rw-r--r--routers/home.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/home.go b/routers/home.go
index eaf33815..7d9ee27b 100644
--- a/routers/home.go
+++ b/routers/home.go
@@ -21,7 +21,7 @@ const (
)
func Home(ctx *context.Context) {
- if ctx.IsSigned {
+ if ctx.IsLogged {
if !ctx.User.IsActive && setting.Service.RegisterEmailConfirm {
ctx.Data["Title"] = ctx.Tr("auth.active_your_account")
ctx.HTML(200, user.ACTIVATE)