|
|
|
@ -346,10 +346,7 @@ class LoginDialog extends Component {
|
|
|
|
|
if(response===undefined){
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
if(response.data.identity === null || response.data.identity === undefined){
|
|
|
|
|
this.props.history.push("/interesse");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(response.status===200){
|
|
|
|
|
if (response.data.status === 402) {
|
|
|
|
|
window.location.href = response.data.url;
|
|
|
|
@ -359,6 +356,10 @@ class LoginDialog extends Component {
|
|
|
|
|
description:response.data.message,
|
|
|
|
|
});
|
|
|
|
|
}else{
|
|
|
|
|
if(response.data.identity === null || response.data.identity === undefined){
|
|
|
|
|
this.props.history.push("/interesse");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
broadcastChannelPostMessage('refreshPage')
|
|
|
|
|
this.setState({
|
|
|
|
|
isRender:false
|
|
|
|
|