Actually use the 'user_filter' configuration option

This commit is contained in:
Travis Odom 2014-04-21 15:48:42 +00:00
parent 2bfd95d850
commit e9d4587ff1
1 changed files with 2 additions and 1 deletions

View File

@ -223,6 +223,7 @@ Devise.setup do |config|
method: Gitlab.config.ldap['method'],
bind_dn: Gitlab.config.ldap['bind_dn'],
password: Gitlab.config.ldap['password'],
filter: Gitlab.config.ldap['user_filter'],
name_proc: email_stripping_proc
end
@ -244,4 +245,4 @@ Devise.setup do |config|
config.omniauth provider['name'].to_sym, *provider_arguments
end
end
end