ActivityPub: Check inbox requests for valid signature.
This commit is contained in:
parent
a9c23e1c32
commit
888ec9e579
2 changed files with 4 additions and 1 deletions
|
|
@ -219,9 +219,11 @@ defmodule Pleroma.Web.Router do
|
|||
|
||||
pipeline :activitypub do
|
||||
plug :accepts, ["activity+json"]
|
||||
plug Pleroma.Web.Plugs.HTTPSignaturePlug
|
||||
end
|
||||
|
||||
scope "/", Pleroma.Web.ActivityPub do
|
||||
pipe_through :activitypub
|
||||
post "/users/:nickname/inbox", ActivityPubController, :inbox
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue