Index: app/(auth)/actions.ts
===================================================================
--- app/(auth)/actions.ts	(revision 794232de69bac53c722412dbf50cc99a08792313)
+++ app/(auth)/actions.ts	(revision 69d38f68301f35f7f19548e514390ac30521a75e)
@@ -2,10 +2,8 @@
 
 import { z } from 'zod';
-import postgres from 'postgres';
+import { sql } from '@/app/lib/db';
 import { signIn } from '@/auth';
 import bcrypt from "bcryptjs";
 import { AuthError } from 'next-auth';
-
-const sql = postgres(process.env.POSTGRES_URL!, { ssl: 'require' });
 
 export async function authenticate(
