respect value of REQUIRE_SIGNIN_VIEW (#5901)

tokarchuk/v1.17
Lanre Adelowo 6 years ago committed by techknowlogick
parent fada6968a8
commit 7933a950d0
  1. 2
      routers/routes/routes.go

@ -648,7 +648,7 @@ func RegisterRoutes(m *macaron.Macaron) {
}
ctx.Data["CommitsCount"] = ctx.Repo.CommitsCount
})
}, context.RepoAssignment(), context.UnitTypes(), reqRepoReleaseReader)
}, ignSignIn, context.RepoAssignment(), context.UnitTypes(), reqRepoReleaseReader)
m.Group("/:username/:reponame", func() {
m.Post("/topics", repo.TopicsPost)

Loading…
Cancel
Save