Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 01:44:24 +01:00

getting the tag list does not require being signed in (#24413)

Fixes: https://codeberg.org/forgejo/forgejo/issues/681
This commit is contained in:
Earl Warren 2023-04-29 06:40:55 +02:00 committed by GitHub
parent 0bd05a9f1c
commit 9cf721e446
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {