mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-19 23:23:59 +00:00
refactor: remove gatewayService dependency from LDAP connection functions
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user