Fix misleading LDAP filiter in default config

The default filter provided in config files is invalid. This may mislead people. Confirm to issue #4620.
This commit is contained in:
William Goodspeed 2023-01-27 20:02:57 +08:00 committed by GitHub
parent bde5c3d443
commit f785acb07d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -457,9 +457,9 @@ module.exports = {
// - `rootPassword`: Password of The Lounge LDAP system user.
rootPassword: "1234",
// - `filter`: it is set to `"(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com)"`
// - `filter`: it is set to `"(&(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com))"`
// by default.
filter: "(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com)",
filter: "(&(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com))",
// - `base`: LDAP search base (search only within this node). It is set
// to `"dc=example,dc=com"` by default.