summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-24 06:50:11 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-24 06:50:11 -0400
commitd44c44987f704e2d4343db8c252281c86adb4a71 (patch)
tree9907d73d248b1e5626e1f371a743239ce365a032 /web.go
parent137538e54b3aade46cf2ef947707f4e32ba8a382 (diff)
downloadgitea-d44c44987f704e2d4343db8c252281c86adb4a71.tar.gz
gitea-d44c44987f704e2d4343db8c252281c86adb4a71.zip
Fix dashboard auto-log bug
Diffstat (limited to 'web.go')
-rw-r--r--web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web.go b/web.go
index 9a613dceb6..4236d8b31a 100644
--- a/web.go
+++ b/web.go
@@ -88,7 +88,7 @@ func runWeb(*cli.Context) {
reqSignOut := middleware.Toggle(&middleware.ToggleOptions{SignOutRequire: true})
// Routers.
- m.Get("/", ignSignIn, routers.Home)
+ m.Get("/", reqSignIn, routers.Home)
m.Get("/issues", reqSignIn, user.Issues)
m.Get("/pulls", reqSignIn, user.Pulls)
m.Get("/stars", reqSignIn, user.Stars)