summaryrefslogtreecommitdiff
path: root/app/services/auth
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-15 08:47:48 -0500
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-15 08:47:48 -0500
commitb575b2f1ef10c44a59151567aa1aa390f4a94ab1 (patch)
tree58372856316a8ad70ed5b1a7198149ffac3fed62 /app/services/auth
parent28233e00dc021a15761ac1c66c64dea60131084d (diff)
downloadgitlab-ce-b575b2f1ef10c44a59151567aa1aa390f4a94ab1.tar.gz
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|