diff options
author | Francisco Lopez <fjlopez@gitlab.com> | 2017-11-09 19:04:19 +0100 |
---|---|---|
committer | Francisco Lopez <fjlopez@gitlab.com> | 2017-11-17 10:02:11 +0100 |
commit | 21153a4f47871733f3c0d333a10ffa69ada9a5a9 (patch) | |
tree | f8b45501aab856f6360f75032b09d1695d78765b /lib/api/api_guard.rb | |
parent | aecc3eb0809c4436a57f5ecdd88def58e704205d (diff) | |
download | gitlab-ce-21153a4f47871733f3c0d333a10ffa69ada9a5a9.tar.gz |
Homogenising the type of the request handled by UserAuthFinder. Also tests fixed
Diffstat (limited to 'lib/api/api_guard.rb')
-rw-r--r-- | lib/api/api_guard.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/api/api_guard.rb b/lib/api/api_guard.rb index 01e15ffee84..e2a1a51b300 100644 --- a/lib/api/api_guard.rb +++ b/lib/api/api_guard.rb @@ -6,9 +6,6 @@ module API module APIGuard extend ActiveSupport::Concern - PRIVATE_TOKEN_HEADER = "HTTP_PRIVATE_TOKEN".freeze - PRIVATE_TOKEN_PARAM = :private_token - included do |base| # OAuth2 Resource Server Authentication use Rack::OAuth2::Server::Resource::Bearer, 'The API' do |request| |