mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-26 06:46:40 +00:00
add server admin panel to delete users
This commit is contained in:
11
src/app/admin/page.tsx
Normal file
11
src/app/admin/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { verifySession } from "@app/lib/auth/verifySession";
|
||||
import { cache } from "react";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
type AdminPageProps = {};
|
||||
|
||||
export default async function OrgPage(props: AdminPageProps) {
|
||||
redirect(`/admin/users`);
|
||||
|
||||
return <></>;
|
||||
}
|
||||
Reference in New Issue
Block a user