mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
respect value of REQUIRE_SIGNIN_VIEW (#5901)
This commit is contained in:
parent
fada6968a8
commit
7933a950d0
@ -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…
Reference in New Issue
Block a user