mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Typo in comment
This commit is contained in:
parent
dc308add10
commit
98b0ab866d
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ module Rack
|
|||
'allow2ban'
|
||||
end
|
||||
|
||||
# everything the same here except we return only return true
|
||||
# everything is the same here except we only return true
|
||||
# (blocking the request) if they have tripped the limit.
|
||||
def fail!(discriminator, bantime, findtime, maxretry)
|
||||
count = cache.count("#{key_prefix}:count:#{discriminator}", findtime)
|
||||
|
|
|
|||
Loading…
Reference in a new issue