login type bug fixed
This commit is contained in:
@@ -83,6 +83,13 @@ export default function Login() {
|
||||
login_mode: 1105,
|
||||
action: 11025,
|
||||
};
|
||||
}else{
|
||||
setLoginLoading(false);
|
||||
setMsgError("Invalid Login Type. Consider refreshing the page");
|
||||
setTimeout(() => {
|
||||
setMsgError("");
|
||||
}, Number(process.env.REACT_APP_LOGIN_ERROR_TIMEOUT));
|
||||
return;
|
||||
}
|
||||
userApi.logInUser(postData).then((res) => {
|
||||
if (res.status != 200 || res.data.internal_return < 0) {
|
||||
|
||||
Reference in New Issue
Block a user