mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Ldap Node): Fix issue with connections not closing correctly (#7432)
This commit is contained in:
@@ -39,6 +39,11 @@ export async function createLdapClient(
|
||||
}
|
||||
}
|
||||
|
||||
if (credentials.timeout) {
|
||||
// Convert seconds to milliseconds
|
||||
ldapOptions.timeout = (credentials.timeout as number) * 1000;
|
||||
}
|
||||
|
||||
if (nodeDebug) {
|
||||
Logger.info(
|
||||
`[${nodeType} | ${nodeName}] - LDAP Options: ${JSON.stringify(ldapOptions, null, 2)}`,
|
||||
|
||||
Reference in New Issue
Block a user