mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 15:27:27 +00:00
misc: addressed comments
This commit is contained in:
@@ -141,7 +141,7 @@ export const ldapConfigServiceFactory = ({
|
|||||||
|
|
||||||
if (!isConnected) {
|
if (!isConnected) {
|
||||||
throw new BadRequestError({
|
throw new BadRequestError({
|
||||||
message: "Failed to create LDAP configuration due to invalid credentials."
|
message: "Failed to establish connection to LDAP directory. Please verify that your credentials are correct."
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -269,7 +269,8 @@ export const ldapConfigServiceFactory = ({
|
|||||||
const isConnected = await testLDAPConfig(decryptedLdapCfg);
|
const isConnected = await testLDAPConfig(decryptedLdapCfg);
|
||||||
if (!isConnected) {
|
if (!isConnected) {
|
||||||
throw new BadRequestError({
|
throw new BadRequestError({
|
||||||
message: "Failed to update LDAP configuration due to invalid credentials."
|
message:
|
||||||
|
"Failed to establish connection to LDAP directory. Please verify that your credentials are correct."
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user