1
0
Fork 0
forked from forgejo/forgejo

Fix dashboard auto-log bug

This commit is contained in:
Unknown 2014-03-24 06:50:11 -04:00
parent 137538e54b
commit d44c44987f
2 changed files with 2 additions and 2 deletions

2
web.go
View file

@ -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)