mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Fix LDAP Group Filtering does not work.
Thanks to emilburggraf, psteinforth, craig-silva, Daniel-H76, benh57, falkheiland and xet7 ! Fixes wekan/ldap#64
This commit is contained in:
parent
053e817393
commit
2da7b1d542
1 changed files with 2 additions and 2 deletions
|
@ -389,7 +389,7 @@ export default class LDAP {
|
|||
filter.push(')');
|
||||
|
||||
const searchOptions = {
|
||||
filter: filter.join('').replace(/#{username}/g, username),
|
||||
filter: filter.join('').replace(/#{username}/g, username).replace("\\", "\\\\"),
|
||||
scope : 'sub',
|
||||
};
|
||||
|
||||
|
@ -437,7 +437,7 @@ export default class LDAP {
|
|||
filter.push(')');
|
||||
|
||||
const searchOptions = {
|
||||
filter: filter.join('').replace(/#{username}/g, username),
|
||||
filter: filter.join('').replace(/#{username}/g, username).replace("\\", "\\\\"),
|
||||
scope : 'sub',
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue