From ac43eab51f9ac0d4c4bcc6db2bbc9ce3dbb34b7b Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 6 Apr 2017 23:48:49 -0400 Subject: Refactoring: rename Signed -> Logged --- routers/home.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/home.go') 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) -- cgit v1.2.3