Web: Common: Fixed login error handling
This commit is contained in:
parent
d5d0239f6a
commit
dc667af6ad
@ -236,8 +236,7 @@ class Form extends Component {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
let err = error.data.error.message;
|
this.setState({ errorText: error, isLoading: false });
|
||||||
this.setState({ errorText: err, isLoading: false });
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user