black/white -> block/safe

This commit is contained in:
Joe Masilotti 2019-07-27 09:31:22 +02:00 committed by GitHub
parent c8abad53fe
commit 8ceda70f14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,8 @@ class Rack::Attack
# If you don't want to use Rails.cache (Rack::Attack's default), then
# configure it here.
#
# Note: The store is only used for throttling (not blacklisting and
# whitelisting). It must implement .increment and .write like
# Note: The store is only used for throttling (not blocklisting and
# safelisting). It must implement .increment and .write like
# ActiveSupport::Cache::Store
# Rack::Attack.cache.store = ActiveSupport::Cache::MemoryStore.new
@ -80,4 +80,4 @@ class Rack::Attack
# ['']] # body
# end
end
```
```