Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-10-14 03:05:18 +0300
committerFrancisco Lopez <fjlopez@gitlab.com>2017-11-17 11:58:18 +0300
commit43a682ccaa694d2a14f3d639d66708057859a628 (patch)
treed77db36eb817035efed3fdb2ec163615bdbc9336 /app/controllers/application_controller.rb
parentd87030714a654b0dfa47aa6b38eb970731e7a04e (diff)
Fix OAuth API and RSS rate limiting
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 42eae408fdc..cd7b2a463fd 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -125,7 +125,7 @@ class ApplicationController < ActionController::Base
# This filter handles private tokens, personal access tokens, and atom
# requests with rss tokens
def authenticate_sessionless_user!
- user = Gitlab::Auth.find_sessionless_user(request)
+ user = Gitlab::Auth::RequestAuthenticator.new(request).find_sessionless_user
sessionless_sign_in(user) if user
>>>>>>> Add request throttles