aboutsummaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-03-13 21:15:42 +0300
committerrinpatch <rinpatch@sdf.org>2020-03-16 00:15:21 +0300
commitc46d035f7bc79f451c8b2356f3b809c29684cfe4 (patch)
treeecc6d19a0807345e3b6699333a43a6f7f6c95e28 /rel
parent9d0975529182a1f9002ed8ccd7aa94d058ef83f7 (diff)
downloadpleroma-c46d035f7bc79f451c8b2356f3b809c29684cfe4.tar.gz
rate limiter: disable based on if remote ip was found, not on if the plug was enabled
The current rate limiter disable logic won't trigger when the remote ip is not forwarded, only when the remoteip plug is not enabled, which is not the case on most instances since it's enabled by default. This changes the behavior to warn and disable when the remote ip was not forwarded, even if the RemoteIP plug is enabled. Also closes #1620
Diffstat (limited to 'rel')
0 files changed, 0 insertions, 0 deletions