update : login page
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user