diff options
Diffstat (limited to 'src/state/index.ts')
-rw-r--r-- | src/state/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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) } }) |