From b2dba9a15b0b27c9221808ff037090c2b4c2d500 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Mon, 21 Nov 2022 16:17:40 -0600 Subject: Track rotated auth tokens --- src/state/index.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/state/index.ts') diff --git a/src/state/index.ts b/src/state/index.ts index fd81bc842..7bb757757 100644 --- a/src/state/index.ts +++ b/src/state/index.ts @@ -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) } }) -- cgit 1.4.1