update : login page
This commit is contained in:
parent
cf9cd12450
commit
06f7a633ce
|
@ -110,7 +110,10 @@ class BTNLoginPage extends React.Component{
|
||||||
else if(res.state == "phone_verification"){
|
else if(res.state == "phone_verification"){
|
||||||
this.authStore.otpData = res;
|
this.authStore.otpData = res;
|
||||||
setTimeout(()=>{
|
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});
|
this.setState({isLoading:false});
|
||||||
},1000);
|
},1000);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user