This commit is contained in:
Peter Bhat Harkins 2022-07-20 08:37:30 -05:00
parent 190ce7cba5
commit 474407c3fe
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ Rack::Attack.throttle("login", limit: 4, period: 60) do |request|
request.ip if request.post? && (
request.path.start_with?('/login') ||
request.path.start_with?('/login/set_new_password')
)
)
end
Rack::Attack.throttle("log4j probe", limit: 1, period: 1.week.to_i) do |request|