diff --git a/backend/src/identity/ldap/ldap.service.ts b/backend/src/identity/ldap/ldap.service.ts index dba7b02a7..64adbfebe 100644 --- a/backend/src/identity/ldap/ldap.service.ts +++ b/backend/src/identity/ldap/ldap.service.ts @@ -72,7 +72,7 @@ export class LdapService { tlsOptions: { ca: ldapConfig.tlsCaCerts, }, - }); + } as LdapAuth.Options); auth.once('error', (error: string | Error) => { const exception = this.getLdapException(username, error);