Log but ignore signature errors.
This commit is contained in:
parent
76e71f47d3
commit
e368b68dcf
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,11 @@ def inbox(%{assigns: %{valid_signature: true}} = conn, params) do
|
|||
end
|
||||
end
|
||||
|
||||
def inbox(conn, params) do
|
||||
Logger.info("Signature error.")
|
||||
Logger.info(conn.req_headers)
|
||||
json(conn, "ok")
|
||||
end
|
||||
def ap_enabled_actor(id) do
|
||||
user = User.get_by_ap_id(id)
|
||||
if User.ap_enabled?(user) do
|
||||
|
|
Loading…
Reference in a new issue