mirror of https://github.com/go-gitea/gitea.git
remove code read permission for contributors page
This commit is contained in:
parent
7486f27681
commit
8da7c4ae4e
|
@ -1446,7 +1446,7 @@ func registerRoutes(m *web.Router) {
|
|||
m.Group("/contributors", func() {
|
||||
m.Get("", repo.Contributors)
|
||||
m.Get("/data", repo.ContributorsData)
|
||||
}, reqRepoCodeReader)
|
||||
})
|
||||
m.Group("/code-frequency", func() {
|
||||
m.Get("", repo.CodeFrequency)
|
||||
m.Get("/data", repo.CodeFrequencyData)
|
||||
|
|
Loading…
Reference in New Issue