We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f380452 commit 3478964Copy full SHA for 3478964
apps/backend-mock/utils/cookie-utils.ts
@@ -14,7 +14,7 @@ export function setRefreshTokenCookie(
14
) {
15
setCookie(event, 'jwt', refreshToken, {
16
httpOnly: true,
17
- maxAge: 24 * 60 * 60 * 1000,
+ maxAge: 24 * 60 * 60, // unit: seconds
18
sameSite: 'none',
19
secure: true,
20
});
0 commit comments