diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-06-06 13:18:01 +0200 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-06-06 16:19:15 +0200 |
commit | 9fcc3e5982311a380681c822df72fe470a5ea1ca (patch) | |
tree | 1368d6a158559c70121a5e807e0e3bf007875412 /app | |
parent | 0b81b5ace0dd7c5ba3362238d8be41ce178e1ecc (diff) | |
download | gitlab-ce-9fcc3e5982311a380681c822df72fe470a5ea1ca.tar.gz |
Fix test failureszj-read-registry-pat
Diffstat (limited to 'app')
-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 2648b901f01..c585d26df77 100644 --- a/app/controllers/jwt_controller.rb +++ b/app/controllers/jwt_controller.rb @@ -20,7 +20,7 @@ class JwtController < ApplicationController private def authenticate_project_or_user - @authentication_result = Gitlab::Auth::Result.new(nil, nil, :none, Gitlab::Auth.read_api_abilities) + @authentication_result = Gitlab::Auth::Result.new(nil, nil, :none, Gitlab::Auth.read_authentication_abilities) authenticate_with_http_basic do |login, password| @authentication_result = Gitlab::Auth.find_for_git_client(login, password, project: nil, ip: request.ip) |