more debug

This commit is contained in:
Alexander Strizhakov 2020-04-03 18:20:42 +03:00
parent bced14a225
commit 77c13aeecc
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381

View File

@ -123,6 +123,9 @@ defmodule Pleroma.Plugs.RateLimiter do
do: !conn.assigns.remote_ip_found,
else: false
IO.inspect(localhost_or_socket, label: "localhost_or_socket")
IO.inspect(remote_ip_not_found, label: "remote_ip_not_found")
IO.inspect(Map.get(conn.assigns, :remote_ip_found), label: "remote_ip_found")
localhost_or_socket and remote_ip_not_found
end