mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-14 06:51:28 +02:00
server admin enforce 2fa per user
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
export default async function UserPage(props: {
|
||||
params: Promise<{ userId: string }>;
|
||||
}) {
|
||||
const { userId } = await props.params;
|
||||
redirect(`/admin/users/${userId}/general`);
|
||||
}
|
||||
Reference in New Issue
Block a user