aboutsummaryrefslogtreecommitdiff
path: root/routers/home.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-04-06 23:48:49 -0400
committerUnknwon <u@gogs.io>2017-04-06 23:48:49 -0400
commitac43eab51f9ac0d4c4bcc6db2bbc9ce3dbb34b7b (patch)
tree4e5fd54b821ef1af312e4d1f1c1a9befad7054a7 /routers/home.go
parent8d0417497b39aa196400d39c99bbd79cfb364f9f (diff)
Refactoring: rename Signed -> Logged
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)