1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -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))
})
})
}, context.PackageAssignment(), reqPackageAccess(perm.AccessModeRead))
}, ignSignIn, context.PackageAssignment(), reqPackageAccess(perm.AccessModeRead))
}
}, context_service.UserAssignmentWeb())