From 5ab1320917ac3378b5ad5a535c115382309cb036 Mon Sep 17 00:00:00 2001 From: Andrew Jiang Date: Mon, 7 Oct 2024 11:21:40 -0400 Subject: [PATCH] remove expires --- packages/ui/docs-bundle/src/server/auth/withSecure.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/ui/docs-bundle/src/server/auth/withSecure.ts b/packages/ui/docs-bundle/src/server/auth/withSecure.ts index 03d980755d..2940dc6f87 100644 --- a/packages/ui/docs-bundle/src/server/auth/withSecure.ts +++ b/packages/ui/docs-bundle/src/server/auth/withSecure.ts @@ -1,9 +1,6 @@ import type { ResponseCookie } from "next/dist/compiled/@edge-runtime/cookies"; -const DEFAULT_EXPIRES = 30 * 24 * 60 * 60 * 1000; // 30 days - export const withSecureCookie = (opts?: Partial): Partial => ({ - expires: DEFAULT_EXPIRES, ...opts, secure: true, httpOnly: true,