Change USE_LDAP to only detect true
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
6c0879c4b3
commit
06cd286956
|
@ -15,7 +15,10 @@ export async function getMembers(
|
|||
}
|
||||
|
||||
let members: Member[] = [];
|
||||
if (process.env.USE_LDAP !== undefined && process.env.USE_LDAP === "true") {
|
||||
if (
|
||||
process.env.USE_LDAP !== undefined &&
|
||||
process.env.USE_LDAP.toLowerCase() === "true"
|
||||
) {
|
||||
const url = "ldap://ldap1.csclub.uwaterloo.ca";
|
||||
const searchDN = "ou=People,dc=csclub,dc=uwaterloo,dc=ca";
|
||||
const client = new Client({
|
||||
|
|
Loading…
Reference in New Issue