Fix signatures for relay

The plugs were missing

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-12-17 13:36:25 +01:00
parent 4afb07978b
commit 89b751e124
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -20,6 +20,8 @@ defmodule MobilizonWeb.Router do
end end
pipeline :relay do pipeline :relay do
plug(MobilizonWeb.HTTPSignaturePlug)
plug(MobilizonWeb.Plugs.MappedSignatureToIdentity)
plug(:accepts, ["activity-json", "json"]) plug(:accepts, ["activity-json", "json"])
end end