This commit is contained in:
lain 2018-02-18 22:41:38 +01:00
parent e368b68dcf
commit dc1d3ceb72

View File

@ -43,9 +43,10 @@ def inbox(%{assigns: %{valid_signature: true}} = conn, params) do
def inbox(conn, params) do def inbox(conn, params) do
Logger.info("Signature error.") Logger.info("Signature error.")
Logger.info(conn.req_headers) Logger.info(inspect(conn.req_headers))
json(conn, "ok") json(conn, "ok")
end end
def ap_enabled_actor(id) do def ap_enabled_actor(id) do
user = User.get_by_ap_id(id) user = User.get_by_ap_id(id)
if User.ap_enabled?(user) do if User.ap_enabled?(user) do