initial commit on Federted servers
release gate / check (push) Failing after 8m35s

This commit is contained in:
Andrew S Erwin
2026-10-19 16:23:55 -05:00
commit b9721ff13f
217 changed files with 31534 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
export const dynamic = 'force-dynamic'
import { redirect } from 'next/navigation'
import { getRealUser } from '@/lib/auth-guard'
import { AdminClient } from './client'
export default async function AdminPage() {
const user = await getRealUser()
if (!user) redirect('/login')
if (user.role !== 'ADMIN') redirect('/pages')
return <AdminClient currentUserId={user.id} />
}