From 06f7a633ce300b1a6f5b6bc59e8145cfca492924 Mon Sep 17 00:00:00 2001 From: enggar_ganteng Date: Tue, 29 Jan 2019 15:48:08 +0700 Subject: [PATCH] update : login page --- src/common/pages/Login/LoginBtn.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/pages/Login/LoginBtn.js b/src/common/pages/Login/LoginBtn.js index 4808778..f2e8995 100644 --- a/src/common/pages/Login/LoginBtn.js +++ b/src/common/pages/Login/LoginBtn.js @@ -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); }