mirror of
https://github.com/zooai/ai.git
synced 2026-10-30 14:52:08 +00:00
- Removed Supabase auth dependencies and callback route - Cleaned up middleware.ts - Stubbed auth.ts for future NextAuth integration - Fixed login-button and user-menu components - App now uses internal PostgreSQL via Prisma
13 lines
297 B
TypeScript
13 lines
297 B
TypeScript
import 'server-only'
|
|
import { cookies } from 'next/headers'
|
|
|
|
// Stub auth for now - will be replaced with proper auth system
|
|
export const auth = async ({
|
|
cookieStore
|
|
}: {
|
|
cookieStore: ReturnType<typeof cookies>
|
|
}) => {
|
|
// TODO: Implement proper auth with NextAuth or similar
|
|
return null
|
|
}
|