add Gem rack_attack for prevent attack brute-force
This commit is contained in:
parent
cab5b5cd9b
commit
fc8cebd78d
4 changed files with 26 additions and 0 deletions
|
@ -41,5 +41,6 @@ module TPS
|
|||
end
|
||||
|
||||
config.ds_weekly_overview = ENV['APP_NAME'] == 'tps'
|
||||
config.middleware.use Rack::Attack
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue