diff options
author | Stan Hu <stanhu@gmail.com> | 2018-09-08 16:53:41 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-09-08 16:53:41 +0300 |
commit | 98a5413de4089943c4ecfaabcfbe9a3e10ca444d (patch) | |
tree | c07174890d117b462bb9b99984115172d2f2abd0 | |
parent | 75bdbf25a8df0bc317a26f36c497e7a6b26c1eb1 (diff) | |
parent | 90f67306ab206060d33e94487f49f31dbc406110 (diff) |
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
-rw-r--r-- | lib/gitlab/git_access.rb | 6 |
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 |