Move JWT to Gitlab::JWT

This commit is contained in:
Kamil Trzcinski 2016-05-13 16:22:50 -05:00
parent fc2d985bfa
commit 9ef9e008fe
2 changed files with 61 additions and 59 deletions

View file

@ -3,7 +3,7 @@ class JwtController < ApplicationController
skip_before_action :verify_authenticity_token skip_before_action :verify_authenticity_token
SERVICES = { SERVICES = {
'container_registry' => JWT::ContainerRegistryAuthenticationService, 'container_registry' => ::Gitlab::JWT::ContainerRegistryAuthenticationService,
} }
def auth def auth

View file

@ -1,3 +1,4 @@
module Gitlab
module JWT module JWT
class ContainerRegistryAuthenticationService < BaseService class ContainerRegistryAuthenticationService < BaseService
def execute def execute
@ -67,3 +68,4 @@ module JWT
end end
end end
end end
end