diff --git a/frontend/src/login/Login.vue b/frontend/src/login/Login.vue index d188be5973..035621590e 100644 --- a/frontend/src/login/Login.vue +++ b/frontend/src/login/Login.vue @@ -95,7 +95,7 @@ } } else { let user = response.data.data; - saveLocalStorage(user); + saveLocalStorage(response.data); this.getLanguage(user.language); window.location.href = "/" }