Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🛠️ fix(ldap): `LDAP_LOGIN_USES_USERNAME` config (#3472)

Oliver Faust3fd25920d459
diff --git a/api/server/services/Config/ldap.js b/api/server/services/Config/ldap.js
index 1a4cfbed0d..e45d21d0cd 100644
--- a/api/server/services/Config/ldap.js
+++ b/api/server/services/Config/ldap.js
@@ -15,6 +15,8 @@ const getLdapConfig = () => {
if (ldapLoginUsesUsername) {
ldap.username = true;
}
+
+ return ldap;
};
module.exports = {