zammad: Entferne ungenutzten Patch
This commit is contained in:
parent
0b074b483c
commit
8b26e9335f
1 changed files with 0 additions and 19 deletions
|
@ -1,19 +0,0 @@
|
|||
--- lib/ldap/user.rb.orig 2021-07-28 23:16:02.518958920 +0200
|
||||
+++ lib/ldap/user.rb 2021-07-28 22:47:00.991810209 +0200
|
||||
@@ -95,7 +95,7 @@
|
||||
def valid?(username, password)
|
||||
bind_success = @ldap.connection.bind_as(
|
||||
base: @ldap.base_dn,
|
||||
- filter: "(#{login_attribute}=#{username})",
|
||||
+ filter: @user_filter ? "(&(#{login_attribute}=#{username})#{@user_filter})" : "(#{login_attribute}=#{username})",
|
||||
password: password
|
||||
)
|
||||
|
||||
@@ -179,6 +179,7 @@
|
||||
|
||||
@uid_attribute = config[:uid_attribute]
|
||||
@filter = config[:filter]
|
||||
+ @user_filter = config[:user_filter]
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue