diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-02-20 17:09:05 +0300 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-03-06 17:41:25 +0300 |
commit | 0ef8a643489ad1a3da4431155326f0a6e206d870 (patch) | |
tree | beb7bceb362f627e4864075e76d05e81f9b743da /config/application.rb | |
parent | 9cc0ff8f468c54e23172492d97f6d9b428d3ad2e (diff) |
Remove unecessary calls to limit_user!, UniqueIps Middleware, and address MR review
- cleanup formating in haml
- clarify time window is in seconds
- cleanup straneous chunks in db/schema
- rename count_uniqe_ips to update_and_return_ips_count
- other
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/config/application.rb b/config/application.rb index c4dea9e92b0..8003c055b27 100644 --- a/config/application.rb +++ b/config/application.rb @@ -8,8 +8,6 @@ module Gitlab class Application < Rails::Application require_dependency Rails.root.join('lib/gitlab/redis') require_dependency Rails.root.join('lib/gitlab/request_context') - require_dependency Rails.root.join('lib/gitlab/auth') - require_dependency Rails.root.join('lib/gitlab/auth/unique_ips_limiter') # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers @@ -114,8 +112,6 @@ module Gitlab config.middleware.insert_before Warden::Manager, Rack::Attack - config.middleware.insert_before Warden::Manager, Gitlab::Auth::UniqueIpsLimiter - # Allow access to GitLab API from other domains config.middleware.insert_before Warden::Manager, Rack::Cors do allow do |