Skip to content

Commit

Permalink
getting the tag list does not require being signed in (go-gitea#24413) (
Browse files Browse the repository at this point in the history
go-gitea#24416)

Backport go-gitea#24413 by @earl-warren

Fixes: https://codeberg.org/forgejo/forgejo/issues/681

Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
  • Loading branch information
GiteaBot and earl-warren committed Apr 29, 2023
1 parent 4bc6bfb commit e76b3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/web/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e76b3f7

Please sign in to comment.