diff --git a/app/api/auth/login/route.tsx b/app/api/auth/login/route.tsx index 3c66c7c..32aaf4e 100644 --- a/app/api/auth/login/route.tsx +++ b/app/api/auth/login/route.tsx @@ -5,7 +5,6 @@ import { SignJWT } from "jose"; // Secret key for JWT signing (in production, use environment variable) const JWT_SECRET = new TextEncoder().encode(process.env.JWT_SECRET); -// Token expiration time (in seconds) const TOKEN_EXPIRY = 60 * 60 * 12; // 12 hours (in seconds) // This is your POST handler for the login endpoint