Track rotated auth tokens

This commit is contained in:
Paul Frazee
2022-11-21 16:17:40 -06:00
parent abd6ffdbf5
commit 652362b0c2
2 changed files with 16 additions and 1 deletions
+2
View File
@@ -34,6 +34,8 @@ export async function setupState() {
if (!api.sessionManager.session && rootStore.session.isAuthed) {
// reset session
rootStore.session.clear()
} else if (api.sessionManager.session) {
rootStore.session.updateAuthTokens(api.sessionManager.session)
}
})