Skip to content

Commit 82fd599

Browse files
committed
fix(auth): cache bust verify after settings change
1 parent 5af4d84 commit 82fd599

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stores/auth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export const useAuthStore = defineStore('auth', (): AuthState => {
9292

9393
try {
9494
await http.post('/user/settings', { settings: userStore.$state })
95+
await verify(true)
9596
} catch (error: any) {
9697
queue.showError(error?.message ?? 'Error syncing settings')
9798
}

0 commit comments

Comments
 (0)