summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2018-09-08 14:43:24 +1000
committerAsh McKenzie <amckenzie@gitlab.com>2018-09-08 14:43:24 +1000
commit90f67306ab206060d33e94487f49f31dbc406110 (patch)
tree664e730509b1d1176dba3dc7b875aa5814713d6a
parent1d69d26f9f4c950f7c42ad4a7de2f95e11475172 (diff)
downloadgitlab-ce-90f67306ab206060d33e94487f49f31dbc406110.tar.gz
Remove Gitlab::GitAccess#authed_via_jwt?
Previously overridden in EE but no longer required.
-rw-r--r--lib/gitlab/git_access.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/gitlab/git_access.rb b/lib/gitlab/git_access.rb
index 93720500711..30cd09a0ca7 100644
--- a/lib/gitlab/git_access.rb
+++ b/lib/gitlab/git_access.rb
@@ -241,8 +241,6 @@ module Gitlab
end
elsif user
# User access is verified in check_change_access!
- elsif authed_via_jwt?
- # Authenticated via JWT
else
raise UnauthorizedError, ERROR_MESSAGES[:upload]
end
@@ -331,10 +329,6 @@ module Gitlab
!Gitlab.config.gitlab_shell.receive_pack
end
- def authed_via_jwt?
- false
- end
-
protected
def changes_list