1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00

temp deactivate security

This commit is contained in:
Michael Jerger 2023-11-03 17:45:21 +01:00
parent b7082b7e98
commit fe6f625923

View file

@ -896,7 +896,9 @@ func Routes() *web.Route {
}, context_service.UserIDAssignmentAPI())
m.Group("/repository-id/{repository-id}", func() {
m.Get("", activitypub.Repository)
m.Post("/inbox", activitypub.ReqHTTPSignature(), activitypub.RepositoryInbox)
m.Post("/inbox",
//activitypub.ReqHTTPSignature(),
activitypub.RepositoryInbox)
}, context_service.RepositoryIDAssignmentAPI())
}, tokenRequiresScopes(auth_model.AccessTokenScopeCategoryActivityPub))
}