fix(routes): use optSignIn for licenses page #269

Merged
jmiller merged 1 commits from feat/inline-visibility-settings into dev 2026-05-31 02:20:37 +00:00
+1 -1
View File
@@ -1504,7 +1504,7 @@ func registerWebRoutes(m *web.Router, webAuth *AuthMiddleware) {
// "/{username}/{reponame}": licenses page
m.Group("/{username}/{reponame}", func() {
m.Get("/licenses", repo.Licenses)
}, reqSignIn, context.RepoAssignment, reqRepoReleaseReader)
}, optSignIn, context.RepoAssignment)
// end "/{username}/{reponame}": licenses
m.Group("/{username}/{reponame}", func() { // to maintain compatibility with old attachments