Remove the wrapping data object from the response of login

This commit is contained in:
Jonny 2019-04-18 10:19:37 +02:00
parent 4490cd0774
commit dfb709d37e
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ const reducer_userinfo = (state = defaultstate_userinfo, action) => {
__store.dispatch({
type : actiontypes_userinfo.LOGIN_RESULT_SUCCESS,
parameters : {
username : resp.data.data.username,
username : resp.data.username,
}
});
storeOptionalToken(resp);