respect value of REQUIRE_SIGNIN_VIEW (#5901) (#5915)

This commit is contained in:
Lanre Adelowo 2019-01-31 15:38:01 +01:00 committed by techknowlogick
parent 9d4aa78113
commit 438848a2ca

View file

@ -643,7 +643,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)