From e21e13e663da7e315f05f0ac229cde13815b5e22 Mon Sep 17 00:00:00 2001 From: FAL-coffee Date: Fri, 2 Feb 2024 21:50:28 +0900 Subject: [PATCH] typo --- src/runtime/composables/refresh/useAuthState.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/composables/refresh/useAuthState.ts b/src/runtime/composables/refresh/useAuthState.ts index 5db964a0..a7b30459 100644 --- a/src/runtime/composables/refresh/useAuthState.ts +++ b/src/runtime/composables/refresh/useAuthState.ts @@ -14,7 +14,7 @@ export const useAuthState = (): UseAuthStateReturn => { const localAuthState = useLocalAuthState() // Re-construct state from cookie, also setup a cross-component sync via a useState hack, see https://github.com/nuxt/nuxt/issues/13020#issuecomment-1397282717 const _rawRefreshTokenCookie = useCookie( - config.token.cookieName, + config.refreshToken.cookieName, { default: () => null, maxAge: config.refreshToken.maxAgeInSeconds,