Index: app/(auth)/actions.ts
===================================================================
--- app/(auth)/actions.ts	(revision 794232de69bac53c722412dbf50cc99a08792313)
+++ app/(auth)/actions.ts	(revision f023e5d1535c03dbc322ac4d9c160dfdf983c930)
@@ -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(
