diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-06-06 14:18:01 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-06-06 17:19:15 +0300 |
commit | 9fcc3e5982311a380681c822df72fe470a5ea1ca (patch) | |
tree | 1368d6a158559c70121a5e807e0e3bf007875412 /app/controllers | |
parent | 0b81b5ace0dd7c5ba3362238d8be41ce178e1ecc (diff) |
Fix test failures
Diffstat (limited to 'app/controllers')
-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) |