mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-13 10:55:05 +02:00
Seperate setUserToken from setUser in store
This commit is contained in:
parent
4ff7355262
commit
d0d152c20d
3 changed files with 13 additions and 14 deletions
|
@ -189,6 +189,7 @@ export default {
|
|||
|
||||
this.$store.commit('libraries/setCurrentLibrary', userDefaultLibraryId)
|
||||
this.$store.commit('user/setUser', user)
|
||||
this.$store.commit('user/setUserToken', user.accessToken)
|
||||
|
||||
this.$store.dispatch('user/loadUserSettings')
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue