From ad33738474145b4bd2170bf04815c5579ba55758 Mon Sep 17 00:00:00 2001 From: enahum Date: Thu, 26 Oct 2017 09:17:36 -0300 Subject: [PATCH] Fix MFA check to use the new mattermost-redux {data, error} response (#1067) --- app/screens/login/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/screens/login/login.js b/app/screens/login/login.js index 5e30feb77..c5b92c3a1 100644 --- a/app/screens/login/login.js +++ b/app/screens/login/login.js @@ -174,7 +174,7 @@ class Login extends PureComponent { if (this.props.config.EnableMultifactorAuthentication === 'true') { this.props.actions.checkMfa(this.props.loginId).then((result) => { - if (result) { + if (result.data) { this.goToMfa(); } else { this.signIn();