From da5c0764da5a42ff43b3567763dc2cd172193aec Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Wed, 1 Feb 2017 10:18:03 -0500
Subject: Fix logging in with MFA (#5248)

---
 webapp/actions/user_actions.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webapp/actions/user_actions.jsx')

diff --git a/webapp/actions/user_actions.jsx b/webapp/actions/user_actions.jsx
index 73a84a7c6..55b143d34 100644
--- a/webapp/actions/user_actions.jsx
+++ b/webapp/actions/user_actions.jsx
@@ -542,7 +542,7 @@ export function checkMfa(loginId, success, error) {
         loginId,
         (data) => {
             if (success) {
-                success(data.mfa_required === 'true');
+                success(data);
             }
         },
         (err) => {
-- 
cgit v1.2.3-1-g7c22

