Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-23 21:07:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-23 21:07:10 +0300
commitd04f2be14dc23606353acf9b1bbc6326e40d7f4b (patch)
treeb35d40b847fb3eb7a30b5670f56bc4cf9eb0cbf8 /lib/gitlab/auth.rb
parent676430584d388c5c1a59eec8ab0910ded09c1995 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/auth.rb')
-rw-r--r--lib/gitlab/auth.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/auth.rb b/lib/gitlab/auth.rb
index 580c7042f1e..8cab2f65726 100644
--- a/lib/gitlab/auth.rb
+++ b/lib/gitlab/auth.rb
@@ -156,10 +156,10 @@ module Gitlab
underscored_service = matched_login['service'].underscore
- return unless Integration.available_services_names.include?(underscored_service)
+ return unless Integration.available_integration_names.include?(underscored_service)
# We treat underscored_service as a trusted input because it is included
- # in the Integration.available_services_names allowlist.
+ # in the Integration.available_integration_names allowlist.
accessor = Project.integration_association_name(underscored_service)
service = project.public_send(accessor) # rubocop:disable GitlabSecurity/PublicSend