summaryrefslogtreecommitdiff
path: root/lib/gitlab/auth/ldap/adapter.rb
diff options
context:
space:
mode:
authorMartin Wortschack <mwortschack@gitlab.com>2019-04-17 11:56:14 +0200
committerMartin Wortschack <mwortschack@gitlab.com>2019-04-17 11:56:31 +0200
commitd299e0787f793ead7d7e8f95b6108972301ecece (patch)
tree4ffc2066af2fad0ce0099c11f78da14be563993e /lib/gitlab/auth/ldap/adapter.rb
parent6d20be4d3e3deb1bf3b19996ceb0168a74eaa259 (diff)
downloadgitlab-ce-mw-i18n-lib-misc.tar.gz
Resolve first round of discussionsmw-i18n-lib-misc
- Revert translations for certain error messages - Update PO file
Diffstat (limited to 'lib/gitlab/auth/ldap/adapter.rb')
-rw-r--r--lib/gitlab/auth/ldap/adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/auth/ldap/adapter.rb b/lib/gitlab/auth/ldap/adapter.rb
index ba0019cb023..4e9a16f4ced 100644
--- a/lib/gitlab/auth/ldap/adapter.rb
+++ b/lib/gitlab/auth/ldap/adapter.rb
@@ -102,7 +102,7 @@ module Gitlab
options[:size] = limit if limit
if fields.include?('dn')
- raise ArgumentError, _('It is not currently possible to search the DN and other fields at the same time.') if fields.size > 1
+ raise ArgumentError, 'It is not currently possible to search the DN and other fields at the same time.' if fields.size > 1
options[:base] = value
options[:scope] = Net::LDAP::SearchScope_BaseObject