Fix syntax error in AD disabled user filter

This commit is contained in:
Jacob Vosmaer 2014-05-14 18:54:05 +02:00
parent a6e4153878
commit 11dba4cee7
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
module Gitlab
module LDAP
class Person
AD_USER_DISABLED = Net::LDAP::Filter.ex("userAccountControl:1.2.840.113556.1.4.803", 2)
AD_USER_DISABLED = Net::LDAP::Filter.ex("userAccountControl:1.2.840.113556.1.4.803", "2")
def self.find_by_uid(uid, adapter=nil)
adapter ||= Gitlab::LDAP::Adapter.new