Skip to content

Commit dd084c4

Browse files
author
lijianguo
committed
Merge remote-tracking branch 'upstream/master'
2 parents 5598230 + 3946faa commit dd084c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rootfs/api/settings/production.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,12 +431,12 @@
431431
AUTH_LDAP_USER_SEARCH = LDAPSearch(
432432
base_dn=LDAP_USER_BASEDN,
433433
scope=ldap.SCOPE_SUBTREE,
434-
filterstr="(%s=%%(user)s)" % LDAP_USER_FILTER
434+
filterstr="%s" % LDAP_USER_FILTER
435435
)
436436
AUTH_LDAP_GROUP_SEARCH = LDAPSearch(
437437
base_dn=LDAP_GROUP_BASEDN,
438438
scope=ldap.SCOPE_SUBTREE,
439-
filterstr="(%s)" % LDAP_GROUP_FILTER
439+
filterstr="%s" % LDAP_GROUP_FILTER
440440
)
441441
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
442442
'is_active': LDAP_ACTIVE_GROUP,

0 commit comments

Comments
 (0)