Fix credentials not sending right and terminals/file manager not connecting

This commit is contained in:
LukeGus
2025-09-28 21:26:42 -05:00
parent f59faaf887
commit 58b28cab50
5 changed files with 724 additions and 387 deletions

View File

@@ -152,7 +152,7 @@ class AuthManager {
getSecureCookieOptions(req: any, maxAge: number = 24 * 60 * 60 * 1000) {
return {
httpOnly: true,
httpOnly: false,
secure: req.secure || req.headers["x-forwarded-proto"] === "https",
sameSite: "strict" as const,
maxAge: maxAge,