summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-09-20 17:07:34 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-09-20 19:15:13 +0200
commitcf6a35f09a3f38b124bd0e6013950f21b5bb1851 (patch)
treee8b7664ffe5a4e7588cd57c94618a1843ab88327 /app/services
parent0672c5a92e8be90da0cb79f277bb7aee82fdba8a (diff)
downloadgitlab-ce-cf6a35f09a3f38b124bd0e6013950f21b5bb1851.tar.gz
Improve JwtController implementationpost-merge-improve-of-ci-permissions
Diffstat (limited to 'app/services')
-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 98da6563947..38ac6631228 100644
--- a/app/services/auth/container_registry_authentication_service.rb
+++ b/app/services/auth/container_registry_authentication_service.rb
@@ -5,7 +5,7 @@ module Auth
AUDIENCE = 'container_registry'
def execute(authentication_abilities:)
- @authentication_abilities = authentication_abilities || []
+ @authentication_abilities = authentication_abilities
return error('not found', 404) unless registry.enabled