From b95c35620a7781e406d0c02c863d4d2e78da3c47 Mon Sep 17 00:00:00 2001 From: Sheen Capadngan Date: Fri, 8 Aug 2025 04:49:23 +0800 Subject: [PATCH] misc: addressed comments --- backend/src/ee/services/ldap-config/ldap-config-service.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/src/ee/services/ldap-config/ldap-config-service.ts b/backend/src/ee/services/ldap-config/ldap-config-service.ts index 79adf3a9b..9ce0c6bfd 100644 --- a/backend/src/ee/services/ldap-config/ldap-config-service.ts +++ b/backend/src/ee/services/ldap-config/ldap-config-service.ts @@ -141,7 +141,7 @@ export const ldapConfigServiceFactory = ({ if (!isConnected) { 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); if (!isConnected) { 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." }); } }