Skip to content

Commit 3eba625

Browse files
committed
try session mode
1 parent 8331473 commit 3eba625

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/frontendmu-nuxt/auth-utils/useAuth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ export default function useAuth(client: DirectusClient<any> & AuthenticationClie
115115
method: 'POST',
116116
credentials: 'include', // this is required in order to send the refresh token cookie
117117
body: JSON.stringify({
118-
refresh_token: cookieValue,
119-
mode: 'cookie',
118+
// refresh_token: cookieValue,
119+
mode: 'session',
120120
}),
121121
},
122122
)

0 commit comments

Comments
 (0)