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:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-15 16:47:48 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-15 16:47:48 +0300
commitb575b2f1ef10c44a59151567aa1aa390f4a94ab1 (patch)
tree58372856316a8ad70ed5b1a7198149ffac3fed62 /app/services/auth
parent28233e00dc021a15761ac1c66c64dea60131084d (diff)
Fix Container Service full access token
Diffstat (limited to 'app/services/auth')
-rw-r--r--app/services/auth/container_registry_authentication_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/auth/container_registry_authentication_service.rb b/app/services/auth/container_registry_authentication_service.rb
index 69ad634c368..9bfc1085fb9 100644
--- a/app/services/auth/container_registry_authentication_service.rb
+++ b/app/services/auth/container_registry_authentication_service.rb
@@ -16,7 +16,7 @@ module Auth
def self.full_access_token(*names)
registry = Gitlab.config.registry
- token = ::JWT::RSAToken.new(registry.key)
+ token = JSONWebToken::RSAToken.new(registry.key)
token.issuer = registry.issuer
token.audience = AUDIENCE
token[:access] = names.map do |name|