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(errorMessages['login_errorunknown']['en']);
__store.dispatch({
type : actiontypes_userinfo.LOGIN_RESULT_ERROR,
parameters : [
errorMessages['login_errorunknown']['en']
]
'type' : actiontypes_userinfo.LOGIN_RESULT_ERROR,
'parameters' : {
'errorMessages' : [ errorMessages['login_errorunknown']['en'] ]
}
});
}
});