update : login page

This commit is contained in:
enggar_ganteng 2019-01-29 15:48:08 +07:00
parent cf9cd12450
commit 06f7a633ce

View File

@ -110,7 +110,10 @@ class BTNLoginPage extends React.Component{
else if(res.state == "phone_verification"){
this.authStore.otpData = res;
setTimeout(()=>{
this.props.history.push(LINKS.OTP);
this.props.history.push({
pathname:LINKS.OTP,
search:'?login_request_id='+res.login_request_id+'&expired_at='+res.expired_at
});
this.setState({isLoading:false});
},1000);
}