Solve a bug with the error messages of unknown errors when logging in

This commit is contained in:
JP1998 2018-11-30 13:22:34 +01:00
parent 91b532b6cd
commit a927f97e32
1 changed files with 4 additions and 4 deletions

View File

@ -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'] ]
] }
}); });
} }
}); });