Update to use x-refresh-token header, update logout to clear refresh token, add AbsLogger logs for android refresh

This commit is contained in:
advplyr
2025-07-04 17:41:19 -05:00
parent d8cdb7073e
commit 467fedbfe7
10 changed files with 123 additions and 90 deletions
+1 -11
View File
@@ -48,17 +48,7 @@ export default {
methods: {
async logout() {
await this.$hapticsImpact()
if (this.user) {
await this.$nativeHttp.post('/logout').catch((error) => {
console.error(error)
})
}
this.$socket.logout()
await this.$db.logout()
this.$localStore.removeLastLibraryId()
this.$store.commit('user/logout')
this.$store.commit('libraries/setCurrentLibrary', null)
await this.$store.dispatch('user/logout', {})
this.$router.push('/connect')
}
},