Fix authorize race condition by not updating the user on token refresh #4567

This commit is contained in:
advplyr 2025-08-13 08:31:01 -05:00
parent fb3834156b
commit 2c45b28d48
4 changed files with 5 additions and 6 deletions

View file

@ -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) {