mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-27 14:19:38 +00:00
Fix authorize race condition by not updating the user on token refresh #4567
This commit is contained in:
parent
fb3834156b
commit
2c45b28d48
4 changed files with 5 additions and 6 deletions
|
|
@ -189,7 +189,7 @@ export default {
|
|||
require('@/plugins/chromecast.js').default(this)
|
||||
}
|
||||
|
||||
this.$store.commit('libraries/setCurrentLibrary', userDefaultLibraryId)
|
||||
this.$store.commit('libraries/setCurrentLibrary', { id: userDefaultLibraryId })
|
||||
this.$store.commit('user/setUser', user)
|
||||
// Access token only returned from login, not authorize
|
||||
if (user.accessToken) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue