From d44c44987f704e2d4343db8c252281c86adb4a71 Mon Sep 17 00:00:00 2001 From: Unknown <joe2010xtmf@163.com> Date: Mon, 24 Mar 2014 06:50:11 -0400 Subject: Fix dashboard auto-log bug --- web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web.go') 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) -- cgit v1.2.3