Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
pushcx committed Jul 20, 2022
1 parent 190ce7c commit 474407c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/rack_attack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
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|
Expand Down

0 comments on commit 474407c

Please sign in to comment.