From e76b3f72b23bf778a562682d829744451b27d615 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Sat, 29 Apr 2023 03:43:37 -0400 Subject: [PATCH] getting the tag list does not require being signed in (#24413) (#24416) Backport #24413 by @earl-warren Fixes: https://codeberg.org/forgejo/forgejo/issues/681 Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com> --- routers/web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/web/web.go b/routers/web/web.go index 0b1b1afcb9..6aee3dbeda 100644 --- a/routers/web/web.go +++ b/routers/web/web.go @@ -1226,7 +1226,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() {