Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

refactor(ldap): simplify documentation for isLdapReferralError function

Victor Hugo dos Santos844f299db500
diff --git a/backend/src/services/app-connection/ldap/ldap-connection-fns.ts b/backend/src/services/app-connection/ldap/ldap-connection-fns.ts
index 0cf9dc6a0a..dbcdb0bdcc 100644
--- a/backend/src/services/app-connection/ldap/ldap-connection-fns.ts
+++ b/backend/src/services/app-connection/ldap/ldap-connection-fns.ts
@@ -65,8 +65,7 @@ export const isLdapReferral = (err: unknown): boolean => {
/**
* Type guard for a fully-formed LDAP Referral: code 10 with `dn` (string) and `referrals` (array).
- * With the Infisical ldapjs fork (v3.0.8), `referrals` carries the actual target URLs from the
- * LDAPResult, which is the primary source for determining the chase target.
+ * `referrals` carries the actual target URLs from the LDAPResult, which is the primary source for determining the chase target.
*/
export const isLdapReferralError = (err: unknown): err is LdapReferralError => {
if (!isLdapReferral(err)) return false;