Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Update auth-options.tsx (#941)

Ameer Al Ashhab92ff731aa9dc
diff --git a/packages/database/auth/auth-options.tsx b/packages/database/auth/auth-options.tsx
index b728e0fab..85e0961b2 100644
--- a/packages/database/auth/auth-options.tsx
+++ b/packages/database/auth/auth-options.tsx
@@ -117,7 +117,7 @@ export const authOptions = (): NextAuthOptions => {
httpOnly: true,
sameSite: "none",
path: "/",
- secure: process.env.NODE_ENV === "production",
+ secure: true,
},
},
},