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
Logger.info("Signature error.")
Logger.info(conn.req_headers)
Logger.info(inspect(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