From d139782e017ac46e41a20d79c914b5458b3f1781 Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Thu, 31 Jan 2019 06:48:28 -0500 Subject: [PATCH] [FIX] LDAP login (#596) --- app/lib/rocketchat.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lib/rocketchat.js b/app/lib/rocketchat.js index b870c9d14..0362077a5 100644 --- a/app/lib/rocketchat.js +++ b/app/lib/rocketchat.js @@ -274,7 +274,8 @@ const RocketChat = { if (state.settings.LDAP_Enable) { params = { - ...params, + username: user, + ldapPass: password, ldap: true, ldapOptions: {} };