jellyfin-vue/store
MrTimscampi 3f15681af0 fix(auth): fix user data disappearing on refresh
Nuxt Auth expects a normal API to poll the user data on refresh, like "/user/me". Due to Jellyfin
needing the user's ID to fetch their information, this commit registers a new Auth plugin and a
persistent Vuex store, saved to localStorage, to perform the request manually when Nuxt starts up.
It then sets all the required information before the client properly starts, meaning the information
is always fresh when the user refreshes the page.
2020-09-04 23:55:21 +02:00
..
index.ts feat(auth): add login page and user authentication 2020-09-03 13:04:32 +02:00
snackbar.ts style(all): fix linting issues related to new TypeScript rules 2020-09-04 21:09:36 +02:00
user.ts fix(auth): fix user data disappearing on refresh 2020-09-04 23:55:21 +02:00