mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
Fix JS error when logging in with bad credentials
This commit is contained in:
parent
1dc051f562
commit
e222d0ca56
1 changed files with 2 additions and 3 deletions
|
@ -98,10 +98,9 @@ export default {
|
|||
this.clear();
|
||||
this.$store.commit("setToken", response.data.access_token);
|
||||
this.$emit("logged-in");
|
||||
}
|
||||
|
||||
let user = await api.users.self();
|
||||
this.$store.commit("setUserData", user);
|
||||
}
|
||||
|
||||
this.loading = false;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue