Commit d8c0ffd3 authored by Stan Hu's avatar Stan Hu

Merge branch 'ce-to-ee-2018-09-08' into 'master'

CE upstream - 2018-09-08 15:21 UTC

See merge request gitlab-org/gitlab-ee!7294
parents 6d4e044a 1b1164b3
...@@ -247,8 +247,6 @@ module Gitlab ...@@ -247,8 +247,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
# You are not allowed to upload code for this project. # You are not allowed to upload code for this project.
raise UnauthorizedError, ERROR_MESSAGES[:upload] raise UnauthorizedError, ERROR_MESSAGES[:upload]
...@@ -357,10 +355,6 @@ module Gitlab ...@@ -357,10 +355,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 check_size_limit? def check_size_limit?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment