summaryrefslogtreecommitdiff
path: root/app/helpers/auth_helper.rb
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2019-05-06 01:05:38 +0000
committerAsh McKenzie <amckenzie@gitlab.com>2019-05-06 01:05:38 +0000
commitcf1fc5a1e81026b592bcbc88922cb96753472388 (patch)
treeb0c4e3095d1c626d6269f8238a3c07d0dbca74c3 /app/helpers/auth_helper.rb
parentb08014a4508da9ea72a3124d8be5bea93e4b6a0b (diff)
parentf93b2e02a56a3b1f3041119e8302d43aeafc8284 (diff)
downloadgitlab-ce-cf1fc5a1e81026b592bcbc88922cb96753472388.tar.gz
Merge branch 'sh-upgrade-rubocop-0.68.0-ce' into 'master'
Upgrade to Rubocop 0.68.1 See merge request gitlab-org/gitlab-ce!28046
Diffstat (limited to 'app/helpers/auth_helper.rb')
-rw-r--r--app/helpers/auth_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/auth_helper.rb b/app/helpers/auth_helper.rb
index b4ee648361c..076976175a9 100644
--- a/app/helpers/auth_helper.rb
+++ b/app/helpers/auth_helper.rb
@@ -2,7 +2,7 @@
module AuthHelper
PROVIDERS_WITH_ICONS = %w(twitter github gitlab bitbucket google_oauth2 facebook azure_oauth2 authentiq).freeze
- LDAP_PROVIDER = /\Aldap/
+ LDAP_PROVIDER = /\Aldap/.freeze
def ldap_enabled?
Gitlab::Auth::LDAP::Config.enabled?