refactor: remove gatewayService dependency from LDAP connection functions

This commit is contained in:
Victor Santos
2025-11-12 10:13:34 -03:00
parent 51df871e0d
commit ac4231a408
2 changed files with 3 additions and 52 deletions
@@ -80,7 +80,6 @@ export const ldapPasswordRotationFactory: TRotationFactory<
try {
await executeWithPotentialGateway(
{ ...connection, credentials: { ...connection.credentials, ...credentials } },
gatewayService,
gatewayV2Service,
async () => {}
);
@@ -150,7 +149,6 @@ export const ldapPasswordRotationFactory: TRotationFactory<
}
: credentials
},
gatewayService,
gatewayV2Service,
async (client) => {
const userDn = await getDN(dn, client);