Fix MFA page showing up when not active on account switch (#5687)

Этот коммит содержится в:
Joram Wilander
2017-03-09 04:14:51 -05:00
коммит произвёл George Goldberg
родитель 609a1148c7
Коммит bfc8dafe5e
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@@ -131,8 +131,8 @@ export default class LoginController extends React.Component {
checkMfa(
loginId,
(data) => {
if (data && data.mfa_required === 'true') {
(requiresMfa) => {
if (requiresMfa) {
this.setState({showMfa: true});
} else {
this.submit(loginId, password, '');