mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Honor amount argument instead of hard coding counter (part 2)
See commit ca2e752937
This commit is contained in:
parent
196868130a
commit
d8b88cfb84
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ module Rack
|
|||
if options[:expires_in] && !read(name)
|
||||
write(name, amount, options)
|
||||
|
||||
1
|
||||
amount
|
||||
else
|
||||
super
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue