Update Login Page

This commit is contained in:
Soluce Technologies
2025-11-17 18:59:33 +01:00
committed by GitHub
parent 411e09f452
commit 933ab7d68a
+1 -3
View File
@@ -9,9 +9,7 @@ export const metadata: Metadata = {
export default async function SignInPage() { export default async function SignInPage() {
const authGoogleEnabled = env.AUTH_GOOGLE_METHOD; const authGoogleEnabled = env.AUTH_GOOGLE_METHOD;
if (!authGoogleEnabled) {
notFound()
}
return ( return (
<div className="mx-auto grid w-full gap-6"> <div className="mx-auto grid w-full gap-6">
<LoginForm authGoogleEnabled={authGoogleEnabled}/> <LoginForm authGoogleEnabled={authGoogleEnabled}/>