mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-16 01:46:38 +00:00
organize componenst a lib
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import VerifyEmailForm from "@app/components/VerifyEmailForm";
|
||||
import { verifySession } from "@app/lib/verifySession";
|
||||
import VerifyEmailForm from "@app/components/auth/VerifyEmailForm";
|
||||
import { verifySession } from "@app/lib/auth/verifySession";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
export default async function Page() {
|
||||
const user = await verifySession();
|
||||
console.log(user)
|
||||
|
||||
if (!user) {
|
||||
redirect("/");
|
||||
|
||||
Reference in New Issue
Block a user