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>
This commit is contained in:
parent
4bc6bfb476
commit
e76b3f72b2
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue