fix: Squash commit of several fixes and features for many different elements

This commit is contained in:
LukeGus
2025-10-29 18:12:44 -05:00
parent 562d8c96fd
commit ae73f9ca55
32 changed files with 3149 additions and 2057 deletions

View File

@@ -142,7 +142,7 @@ class AuthManager {
}
return jwt.sign(payload, jwtSecret, {
expiresIn: options.expiresIn || "24h",
expiresIn: options.expiresIn || "7d",
} as jwt.SignOptions);
}
@@ -177,7 +177,7 @@ class AuthManager {
getSecureCookieOptions(
req: RequestWithHeaders,
maxAge: number = 24 * 60 * 60 * 1000,
maxAge: number = 7 * 24 * 60 * 60 * 1000,
) {
return {
httpOnly: false,