Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 6cfb367

Browse files
update secure
1 parent 8e2d8b8 commit 6cfb367

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api/controllers/auth.controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ export const sessionLoginController = async (
6161
maxAge: expiresIn,
6262
httpOnly: true,
6363
// In production we must use Secure + SameSite=None for cross-site cookies
64-
secure: isProduction,
65-
sameSite: (isProduction ? "none" : "lax"),
64+
secure: true,
65+
sameSite: ("none"),
6666
path: "/",
6767
};
6868

0 commit comments

Comments
 (0)