Skip to content

Commit 8486a19

Browse files
committed
fix: Keep existing token data
1 parent 7aaec29 commit 8486a19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/auth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export const authOptions: AuthOptions = {
6262
const { access, refresh, profile } = await resp.json() as RefreshedTokens;
6363

6464
return {
65+
...token,
6566
user: profile,
6667
accessToken: access,
6768
refreshToken: refresh,

0 commit comments

Comments
 (0)