mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-12 21:44:24 +02:00
Fix authorize race condition by not updating the user on token refresh #4567
This commit is contained in:
@@ -152,7 +152,6 @@ export const actions = {
|
||||
.$post('/auth/refresh')
|
||||
.then(async (response) => {
|
||||
const newAccessToken = response.user.accessToken
|
||||
commit('setUser', response.user)
|
||||
commit('setAccessToken', newAccessToken)
|
||||
// Emit event used to re-authenticate socket in default.vue since $root is not available here
|
||||
if (this.$eventBus) {
|
||||
|
||||
Reference in New Issue
Block a user