1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-10 17:25:54 +01: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

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