1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00

Fix wrong login requirement routers (#20101)

This commit is contained in:
Lunny Xiao 2022-06-23 18:56:39 +08:00 committed by GitHub
parent b8cfd4605f
commit d0507efb6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -721,7 +721,7 @@ func RegisterRoutes(m *web.Route) {
}, reqPackageAccess(perm.AccessModeWrite)) }, reqPackageAccess(perm.AccessModeWrite))
}) })
}) })
}, context.PackageAssignment(), reqPackageAccess(perm.AccessModeRead)) }, ignSignIn, context.PackageAssignment(), reqPackageAccess(perm.AccessModeRead))
} }
}, context_service.UserAssignmentWeb()) }, context_service.UserAssignmentWeb())