Solve a bug with the error messages of unknown errors when logging in
This commit is contained in:
parent
91b532b6cd
commit
a927f97e32
|
|
@ -102,10 +102,10 @@ const reducer_userinfo = (state = defaultstate_userinfo, action) => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
console.log(errorMessages['login_errorunknown']['en']);
|
console.log(errorMessages['login_errorunknown']['en']);
|
||||||
__store.dispatch({
|
__store.dispatch({
|
||||||
type : actiontypes_userinfo.LOGIN_RESULT_ERROR,
|
'type' : actiontypes_userinfo.LOGIN_RESULT_ERROR,
|
||||||
parameters : [
|
'parameters' : {
|
||||||
errorMessages['login_errorunknown']['en']
|
'errorMessages' : [ errorMessages['login_errorunknown']['en'] ]
|
||||||
]
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue