0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 12:54:35 +01:00

respect value of REQUIRE_SIGNIN_VIEW (#5901)

This commit is contained in:
Lanre Adelowo 2019-01-30 17:45:48 +01:00 committed by techknowlogick
parent fada6968a8
commit 7933a950d0

View file

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