mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Update Login Page
This commit is contained in:
@@ -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}/>
|
||||||
|
|||||||
Reference in New Issue
Block a user