update : login handler

This commit is contained in:
enggar_ganteng 2019-01-29 14:31:37 +07:00
parent ae1b0ae13b
commit df87d00305

View File

@ -71,7 +71,7 @@ class BTNLoginPage extends React.Component{
this.setState({isLoading:false});
},1000);
}
else if(res.state != "email_verification"){
else if(res.state == "email_verification"){
this.setState({isNeedEmailVerification:true,isLoading:false});
}
}).catch(err => {