diff --git a/.dockerignore b/.dockerignore index c5a1bd2..389ba10 100644 --- a/.dockerignore +++ b/.dockerignore @@ -17,3 +17,5 @@ README.md + + diff --git a/lib/auth.ts b/lib/auth.ts index 845a556..0cf8edf 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -12,13 +12,13 @@ if (process.env.NODE_ENV === "development") { "🔐 NextAuth secret:", process.env.NEXTAUTH_SECRET ? "✅ Loaded from .env.local" - : "⚠️ Using fallback" + : "⚠️ Using fallback", ); } if (!process.env.NEXTAUTH_SECRET && process.env.NODE_ENV === "production") { throw new Error( - "NEXTAUTH_SECRET is required in production. Please set it in your environment variables." + "NEXTAUTH_SECRET is required in production. Please set it in your environment variables.", ); } @@ -36,7 +36,7 @@ export const authOptions: NextAuthOptions = { } const isValid = await authService.verifyPassword( - credentials.password + credentials.password, ); if (!isValid) { return null;