mattermost-mobile/app/screens/mfa/index.js
Mattermost Build d100c7d95d
Automated cherry pick of #4072 (#4172)
* MM-22292 Don't use redux to store username and password

* Set login and password MFA props

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-04-17 20:53:48 -07:00

19 lines
463 B
JavaScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {bindActionCreators} from 'redux';
import {connect} from 'react-redux';
import {login} from 'app/actions/views/user';
import Mfa from './mfa';
function mapDispatchToProps(dispatch) {
return {
actions: bindActionCreators({
login,
}, dispatch),
};
}
export default connect(null, mapDispatchToProps)(Mfa);