From 993d724b64b54c18f8f7bbe3d40b3332457b1813 Mon Sep 17 00:00:00 2001 From: Alex Taylor Date: Mon, 5 Mar 2018 17:21:36 -0800 Subject: [PATCH] Mention 'match_discriminator' in README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b5381e7..12377b8 100644 --- a/README.md +++ b/README.md @@ -237,7 +237,8 @@ Rack::Attack.throttled_response = lambda do |env| # NB: you have access to the name and other data about the matched throttle # env['rack.attack.matched'], # env['rack.attack.match_type'], - # env['rack.attack.match_data'] + # env['rack.attack.match_data'], + # env['rack.attack.match_discriminator'] # Using 503 because it may make attacker think that they have successfully # DOSed the site. Rack::Attack returns 429 for throttling by default