Fixed the problem with skipping the login screen and /dashboard

This commit is contained in:
2026-06-24 13:15:04 +02:00
parent 8a6ad5c6c6
commit 9acbbb6a19
2 changed files with 8 additions and 1 deletions
-1
View File
@@ -201,7 +201,6 @@ export async function createSession(userId: string, role: string) {
secure: process.env.NODE_ENV === "production",
sameSite: "strict",
path: "/",
maxAge: 60 * 60 * 24, // 24 hours
});
return token;