Fix MFA check to use the new mattermost-redux {data, error} response (#1067)
This commit is contained in:
parent
685a56d24c
commit
ad33738474
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue