signin render return modify
This commit is contained in:
parent
db7a33f73b
commit
4fec91aaef
|
@ -7,7 +7,7 @@ import {
|
||||||
|
|
||||||
|
|
||||||
import * as pwChangeActions from '../redux/action/pw_change';
|
import * as pwChangeActions from '../redux/action/pw_change';
|
||||||
|
import * as asyncRequestActions from '@overflow/commons/redux/action/asyncRequest';
|
||||||
|
|
||||||
export function mapStateToProps(state: any): PWCangeStateProps {
|
export function mapStateToProps(state: any): PWCangeStateProps {
|
||||||
return {
|
return {
|
||||||
|
@ -18,7 +18,8 @@ export function mapStateToProps(state: any): PWCangeStateProps {
|
||||||
export function mapDispatchToProps(dispatch: Dispatch<any>): PWCangeDispatchProps {
|
export function mapDispatchToProps(dispatch: Dispatch<any>): PWCangeDispatchProps {
|
||||||
return {
|
return {
|
||||||
onResetPassword: (pass: string) => {
|
onResetPassword: (pass: string) => {
|
||||||
dispatch(pwChangeActions.request(pass));
|
dispatch(asyncRequestActions.request('MemberService', 'forgotPassword', pwChangeActions.REQUEST, 'overflow@loafle.com', pass));
|
||||||
|
// dispatch(pwChangeActions.request(pass));
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user