version 1.0 🐢

This commit is contained in:
2025-01-28 18:12:31 +01:00
parent 45ba4bde8b
commit 3fd71af84f
5 changed files with 4 additions and 4 deletions

View File

@@ -136,7 +136,7 @@ app.post("/api/auth/signup", async (req, res) => {
const token = generateJwtToken(username, user_id);
res.cookie("token", token, {
maxAge: 30 * 24 * 60 * 60 * 1000, // 30 days
// httpOnly: true,
httpOnly: true,
// secure: true,
});