fix: add host issue, screen flickering issue, 2fa issue, open terminal session icon missing issue

This commit is contained in:
LukeGus
2026-01-26 00:28:40 -06:00
parent 1c9d4560c7
commit 98b760ce64
7 changed files with 88 additions and 139 deletions
+2 -2
View File
@@ -1145,7 +1145,7 @@ router.get("/oidc/callback", async (req, res) => {
? 30 * 24 * 60 * 60 * 1000
: 7 * 24 * 60 * 60 * 1000;
res.clearCookie("jwt", authManager.getSecureCookieOptions(req));
res.clearCookie("jwt", authManager.getClearCookieOptions(req));
return res
.cookie("jwt", token, authManager.getSecureCookieOptions(req, maxAge))
@@ -1439,7 +1439,7 @@ router.post("/logout", authenticateJWT, async (req, res) => {
}
return res
.clearCookie("jwt", authManager.getSecureCookieOptions(req))
.clearCookie("jwt", authManager.getClearCookieOptions(req))
.json({ success: true, message: "Logged out successfully" });
} catch (err) {
authLogger.error("Logout failed", err);