mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 14:27:59 +00:00
Reverted test
This commit is contained in:
@@ -202,7 +202,7 @@ export const LdapProvider = (): TDynamicProviderFns => {
|
|||||||
const client = await $getClient(providerInputs);
|
const client = await $getClient(providerInputs);
|
||||||
|
|
||||||
if (providerInputs.credentialType === LdapCredentialType.Static) {
|
if (providerInputs.credentialType === LdapCredentialType.Static) {
|
||||||
const dnRegex = new RegExp("^dn:\\s*(.+)", "m");
|
const dnRegex = new RE2("^dn:\\s*(.+)", "m");
|
||||||
const dnMatch = dnRegex.exec(providerInputs.rotationLdif);
|
const dnMatch = dnRegex.exec(providerInputs.rotationLdif);
|
||||||
|
|
||||||
if (dnMatch) {
|
if (dnMatch) {
|
||||||
|
|||||||
Reference in New Issue
Block a user