diff options
author | Marin Jankovski <marin@gitlab.com> | 2013-11-06 13:10:59 +0100 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2013-11-06 13:10:59 +0100 |
commit | 3c8c06751cab946e05785be6985c4c23b4cfbb02 (patch) | |
tree | c7372cabbb3c970873aad885bf4032c26c04b100 /config/application.rb | |
parent | d618a5fec361b85fafffd5cf4a53d044e82bdb5a (diff) | |
download | gitlab-ce-3c8c06751cab946e05785be6985c4c23b4cfbb02.tar.gz |
Enable rack_attack by default.
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/application.rb b/config/application.rb index d85bcab7885..82e74e7250d 100644 --- a/config/application.rb +++ b/config/application.rb @@ -78,7 +78,6 @@ module Gitlab # # config.relative_url_root = "/gitlab" - # Uncomment to enable rack attack middleware - # config.middleware.use Rack::Attack + config.middleware.use Rack::Attack end end |