Fix team profile auth recovery
CI - Build & Verify / Build, Typecheck & Hygiene (push) Successful in 54s
CI - Build & Verify / Deploy to award.noveria.net (push) Successful in 1m5s

This commit is contained in:
AzuTear
2026-06-26 20:06:10 +02:00
parent 47fe59c42a
commit aeade132f9
15 changed files with 237 additions and 37 deletions
+11
View File
@@ -132,6 +132,17 @@ export const useAuthStore = defineStore('auth', {
this.loading = false
}
},
async disconnectTwitchBinding() {
this.loading = true
try {
const response = await api.disconnectTwitchBinding()
this.session = response.session
writeStoredToken(response.session?.sessionToken ?? null)
return response
} finally {
this.loading = false
}
},
async completeOAuthSession(sessionToken: string) {
this.loading = true
try {