diff options
author | Unknwon <u@gogs.io> | 2017-04-06 23:48:49 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-04-06 23:48:49 -0400 |
commit | ac43eab51f9ac0d4c4bcc6db2bbc9ce3dbb34b7b (patch) | |
tree | 4e5fd54b821ef1af312e4d1f1c1a9befad7054a7 /routers/home.go | |
parent | 8d0417497b39aa196400d39c99bbd79cfb364f9f (diff) |
Refactoring: rename Signed -> Logged
Diffstat (limited to 'routers/home.go')
-rw-r--r-- | routers/home.go | 2 |
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) |