mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
20 lines
551 B
TypeScript
20 lines
551 B
TypeScript
import {notFound} from "next/navigation";
|
|
import {env} from "@/env.mjs";
|
|
import {LoginForm} from "@/components/wrappers/auth/login/login-form/login-form";
|
|
import {Metadata} from "next";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Login",
|
|
};
|
|
|
|
export default async function SignInPage() {
|
|
const authGoogleEnabled = env.AUTH_GOOGLE_METHOD;
|
|
if (!authGoogleEnabled) {
|
|
notFound()
|
|
}
|
|
return (
|
|
<div className="mx-auto grid w-full gap-6">
|
|
<LoginForm authGoogleEnabled={authGoogleEnabled}/>
|
|
</div>
|
|
)
|
|
} |