From 833bf1e70688e25426605ba2a11427a2d221f245 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Thu, 7 Feb 2019 18:27:37 -0200 Subject: [PATCH] [FIX] 2FA login in a server with LDAP enabled (#612) --- 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 bb9db20d..da4c8274 100644 --- a/app/lib/rocketchat.js +++ b/app/lib/rocketchat.js @@ -282,7 +282,8 @@ const RocketChat = { if (code) { params = { - ...params, + user, + password, code }; }