提交 98a5413d 编写于 作者: S Stan Hu

Merge branch '51267-remove-gitlab-gitaccess-authed_via_jwt' into 'master'

Resolve "Remove Gitlab::GitAccess#authed_via_jwt?"

Closes #51267

See merge request gitlab-org/gitlab-ce!21610
...@@ -241,8 +241,6 @@ module Gitlab ...@@ -241,8 +241,6 @@ module Gitlab
end end
elsif user elsif user
# User access is verified in check_change_access! # User access is verified in check_change_access!
elsif authed_via_jwt?
# Authenticated via JWT
else else
raise UnauthorizedError, ERROR_MESSAGES[:upload] raise UnauthorizedError, ERROR_MESSAGES[:upload]
end end
...@@ -331,10 +329,6 @@ module Gitlab ...@@ -331,10 +329,6 @@ module Gitlab
!Gitlab.config.gitlab_shell.receive_pack !Gitlab.config.gitlab_shell.receive_pack
end end
def authed_via_jwt?
false
end
protected protected
def changes_list def changes_list
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册