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

Fix wrong login requirement routers (#20101) (#20104)

This commit is contained in:
Lunny Xiao 2022-06-24 15:02:22 +08:00 committed by GitHub
parent 764e75d9b9
commit fb5ca1bf64
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())