* MM-10924 Add forgot password screen * Add a new screen for the user to reset password. but can only verify the link through web UI * Update mattermost-redux version to include isEmail helper
18 lines
538 B
JavaScript
18 lines
538 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 {sendPasswordResetEmail} from 'mattermost-redux/actions/users';
|
|
import ForgotPassword from './forgot_password';
|
|
|
|
function mapDispatchToProps(dispatch) {
|
|
return {
|
|
actions: bindActionCreators({
|
|
sendPasswordResetEmail,
|
|
}, dispatch),
|
|
};
|
|
}
|
|
|
|
export default connect(null, mapDispatchToProps)(ForgotPassword);
|