aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorEarl Warren <109468362+earl-warren@users.noreply.github.com>2023-04-29 06:40:55 +0200
committerGitHub <noreply@github.com>2023-04-29 00:40:55 -0400
commit9cf721e44601382f8086bdcebfdbae9b9107da69 (patch)
treef2e6faafd0214f5d4b694366f686ed1738d462be /routers
parent0bd05a9f1cbf7839d943e5812f84bdeb7d95dfee (diff)
downloadgitea-9cf721e44601382f8086bdcebfdbae9b9107da69.tar.gz
gitea-9cf721e44601382f8086bdcebfdbae9b9107da69.zip
getting the tag list does not require being signed in (#24413)
Fixes: https://codeberg.org/forgejo/forgejo/issues/681
Diffstat (limited to 'routers')
-rw-r--r--routers/web/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/web.go b/routers/web/web.go
index a4ef96ecbe..bb2442fec4 100644
--- a/routers/web/web.go
+++ b/routers/web/web.go
@@ -1093,7 +1093,7 @@ func registerRoutes(m *web.Route) {
repo.MustBeNotEmpty, reqRepoCodeReader, context.RepoRefByType(context.RepoRefTag, true))
m.Post("/tags/delete", repo.DeleteTag, reqSignIn,
repo.MustBeNotEmpty, context.RepoMustNotBeArchived(), reqRepoCodeWriter, context.RepoRef())
- }, reqSignIn, context.RepoAssignment, context.UnitTypes())
+ }, ignSignIn, context.RepoAssignment, context.UnitTypes())
// Releases
m.Group("/{username}/{reponame}", func() {