diff options
author | Lanre Adelowo <adelowomailbox@gmail.com> | 2019-01-31 15:38:01 +0100 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-01-31 09:38:01 -0500 |
commit | 438848a2caefd20b2bedf8231131a4a3a745f4cf (patch) | |
tree | 850a263a9fa22d05416b366400015bd96820c214 | |
parent | 9d4aa78113cf1fa3017a71ef1e93402478d8f31c (diff) | |
download | gitea-438848a2caefd20b2bedf8231131a4a3a745f4cf.tar.gz gitea-438848a2caefd20b2bedf8231131a4a3a745f4cf.zip |
respect value of REQUIRE_SIGNIN_VIEW (#5901) (#5915)
-rw-r--r-- | routers/routes/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 5d9a6b31f0..cb7415cad4 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -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) |