diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-22 22:14:12 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-23 01:34:51 +0300 |
commit | 646018a40e7d29682f31e774f453a6b3427b4216 (patch) | |
tree | fca689ab7bf8336099799556a57ddc4095d54d2c /app/controllers/jwt_controller.rb | |
parent | b4c47368bfece10150293566b6bf5faeb324d5c4 (diff) |
Fix the CI login to Container Registry (the gitlab-ci-token user)
Diffstat (limited to 'app/controllers/jwt_controller.rb')
-rw-r--r-- | app/controllers/jwt_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/jwt_controller.rb b/app/controllers/jwt_controller.rb index f5aa5397ff1..156ab2811d6 100644 --- a/app/controllers/jwt_controller.rb +++ b/app/controllers/jwt_controller.rb @@ -36,7 +36,7 @@ class JwtController < ApplicationController end def authenticate_project(login, password) - if login == 'gitlab_ci_token' + if login == 'gitlab-ci-token' Project.find_by(builds_enabled: true, runners_token: password) end end |