link-stack/apps/leafcutter/app/(login)/login/page.tsx

17 lines
365 B
TypeScript
Raw Normal View History

2023-06-28 09:09:45 +00:00
import { Metadata } from "next";
import { getServerSession } from "next-auth";
import { authOptions } from "app/_lib/auth";
import { Login } from "./_components/Login";
2023-02-13 13:46:56 +00:00
2023-06-28 09:09:45 +00:00
export const metadata: Metadata = {
title: "Login",
2023-05-24 20:27:57 +00:00
};
2023-06-28 09:09:45 +00:00
export default async function Page() {
const session = await getServerSession(authOptions);
2023-02-13 13:46:56 +00:00
2023-06-28 09:09:45 +00:00
return <Login session={session} />;
}
2023-02-13 13:46:56 +00:00