From 7933a950d065d0b4399f2efc40bff75d2a7ed927 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Wed, 30 Jan 2019 17:45:48 +0100 Subject: [PATCH] respect value of REQUIRE_SIGNIN_VIEW (#5901) --- routers/routes/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 6445c0a9af5..41f38801c83 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -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)