aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pleroma/plugs/rate_limiter/rate_limiter.ex3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pleroma/plugs/rate_limiter/rate_limiter.ex b/lib/pleroma/plugs/rate_limiter/rate_limiter.ex
index 1529da717..9d652d85c 100644
--- a/lib/pleroma/plugs/rate_limiter/rate_limiter.ex
+++ b/lib/pleroma/plugs/rate_limiter/rate_limiter.ex
@@ -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