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 872cd69f6..32efea3f3 100644 --- a/src/state/index.ts +++ b/src/state/index.ts @@ -33,6 +33,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) } }) |